Do you want to request a feature, report a bug or ask a question?
Bug
What is the current behavior?
When using extract mode with plainSprite: true option, symbol id in resulting sprite is equals to original file name, but values of id and url properties in emitted webpack chunk is composed like this: {filename}-usage.
What is the expected behavior?
Id and url in emitted javascript-code should not be postfixed with "-usage", if extract mode with plainSprite: true is used.
The best way is to create repo with minimal setup to demonstrate a problem (package.json, webpack config and your code).
repository: https://github.com/3lvcz/svg-sprite-loader-issue
wrong id: https://github.com/3lvcz/svg-sprite-loader-issue/blob/master/dist/build.js#L84
Please tell us about your environment:
@3lvcz sorry for delay, fixed in [email protected]
I can reproduce it again
@kisenka were any changes for this in new releases?
Bump on this as well. Experiencing it with version 4.1.3.
Most helpful comment
@3lvcz sorry for delay, fixed in
[email protected]