Manually adding pascal-case into my own package.json file works around the problem.
Thanks!
Please tell us about your environment:
Node.js version: 10.14.1
webpack version: 4.29.4
svg-sprite-loader version: 4.1.3
OS type & version: macOS 10.14.1
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Do you want to request a feature, report a bug or ask a question?
Report a bug.
What is the current behavior?
When using 4.1.3 and Webpack 4.28.4 I run into the following error on all of our SVG imports:
What is the expected behavior?
Looking into your
package.json
I can seepascal-case
is listed withindevDependencies
. Instead,pascal-case
should be part of yourdependencies
block since it's used at run-time.Manually adding
pascal-case
into my ownpackage.json
file works around the problem.Thanks!
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)
n/a