Closed sectsect closed 3 years ago
Interesting, looks like some file dependencies are getting marked as directory dependencies 🤔 Are you sure this does not happen with Webpack 4?
Thanks for the minimal project, I'll look into it later today.
Found the issue and a fix is on the way ✌🏼
This should be fixed in 3.6.1
which is now available under the next
dist-tag on NPM.
$ npm install svg-spritemap-webpack-plugin@next
Please test this release out using both Webpack 4 and 5 if possible and report any problems.
I get console errors on
watch
mode. ☝️ FYI: However, the svg file is generated well.The error can be resolved by changing the glob pattern as shown below.
Is this the expected behavior?
My Test Project
I created a minimal project. (webpack:
5.3.2
/ svg-spritemap-webpack-plugin:3.6.0
) https://github.com/sectsect/svg-spritemap-webpack-plugin-testnpm run dev