-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtractSVGPlugin outputs [object Object] for all symbol IDs #66
Comments
@rosscourt > is this what you were trying to work out in this repo? If you want to extract symbols in separate file via extract-text-webpack-plugin and want import statement to return a symbol id you anyway should patch extract-text-webpack-plugin loader :( Because by default it replace module exports with |
Hello! I tried to use Extract SVG too. Here's a workaround I came up with: you can run two separate/parallel builds, first one with loader to make your client bundle and insert correct ids into your 's, and second with extract to create bundle svg file. |
That's weird! :) [email protected] with proper extracting mode is on the way, please read about it here #91 and take part in discussion/voting. |
@kisenka well, it's ok for experimentation. Never goes to production :) |
Closing this because proper sprite extracting was implemented in new 2.0 version. Please update. |
As @farwayer posted here:
#54 (comment)
And the demo:
#54 (comment)
I wanted to open a dedicated issue for this so that they is somewhere to track it that isn't just the end of a already closed issue (#54).
@kisenka, is this what you were trying to work out in this repo? https://github.com/kisenka/multiple-extract-text-webpack-plugins
The text was updated successfully, but these errors were encountered: