jhamlet / svg-react-loader

Webpack SVG to React Component Loader
MIT License
559 stars 82 forks source link

Using without webpack #45

Closed nescalante closed 4 years ago

nescalante commented 7 years ago

Quick and short, is it possible to use this package without webpack?

I am building my lib using babel-cli but since this seems to be a webpack loader, I am not achieving the goal.

Is there a way to use this as a babel transformer?

Thanks in advance.

jhamlet commented 7 years ago

@nescalante Not at this time. Maybe in the future.

gregberge commented 7 years ago

@nescalante you should take a look at svgr.

rwieruch commented 5 years ago

If I am using Webpack, what's the difference to SVGR? I can only think of a more fine-grained control level when using SVGR integrated in Webpack, otherwise the most straightforward way would be using this loader.