Coder Social home page Coder Social logo

Usage with Webpack about react-svg-icons HOT 8 OPEN

publitas avatar publitas commented on June 29, 2024
Usage with Webpack

from react-svg-icons.

Comments (8)

MMRandy avatar MMRandy commented on June 29, 2024

+1 Love to know how to use this with Webpack.

from react-svg-icons.

felixhageloh avatar felixhageloh commented on June 29, 2024

Nice to see that people are using this! I know very little about WebPack, but this module relies on browserify transforms so I am not surprised it doesn't work with WebPack. I will check if there is an easy way to support WebPack - suggestions welcome!

from react-svg-icons.

apreg avatar apreg commented on June 29, 2024

About transform in Webpack:
https://gist.github.com/substack/68f8d502be42d5cd4942#transforms-instead-of-loaders
https://webpack.github.io/docs/webpack-for-browserify-users.html#transform

from react-svg-icons.

derekrushforth avatar derekrushforth commented on June 29, 2024

+1. Trying to use this with Webpack but I'm getting the same error.

from react-svg-icons.

jeremyfrank avatar jeremyfrank commented on June 29, 2024

+1

from react-svg-icons.

ixax avatar ixax commented on June 29, 2024

+1

from react-svg-icons.

slightlytyler avatar slightlytyler commented on June 29, 2024

I've packaged this as a commonjs module that does not require browserify. All those using webpack rejoice!
https://github.com/slightlytyler/react-svgcon

@felixhageloh If you would like to collaborate on a single, bundler agnostic package I'd be down

from react-svg-icons.

felixhageloh avatar felixhageloh commented on June 29, 2024

Great @slightlytyler! Yeah at the moment I have very little time to look into this. We might be using this internally soon again tho, so potentially there will be more effort and focus on this module again!

from react-svg-icons.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.