-
Notifications
You must be signed in to change notification settings - Fork 273
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
TypeError: Cannot read property 'source' of undefined #311
Comments
Could you please create repo with minimal setup to demonstrate a problem (package.json, webpack config, SVG image and piece of your code). If you don't want to create a repository - you can create a gist with multiple files. |
I'm also running into this issue. I think the error happens in the following scenario:
I uploaded a demo repo at https://github.com/rmunch/svg-sprite-loader-source-bug - run Thanks! |
try this:
publicPath have a bug, default value is 'sprite.svg', Unable to pass path parameters. my version is "svg-sprite-loader": "^4.1.3" |
@GrzegorzZajac000 Can this be closed? |
@Bosch-Eli-Black yes ;) |
@GrzegorzZajac000 Haha, thanks ^_^ |
Do you want to request a feature, report a bug or ask a question?
Report a bug
What is the current behavior?
Error in webpack build
What is the expected behavior?
Working webpack build
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Webpack config
plainSprite: true
Error:
The text was updated successfully, but these errors were encountered: