baguetteBox.js
baguetteBox.js copied to clipboard
Rename Package - Splitchunks issue
In my webpack setup I do Split-chunking for my javascript files based on the following regex:
test: /[\\/]node_modules[\\/].*js/
Because the package name also has the .js
in the folder-name, only the baguette css gets moved from my app.css and put into a seperate vendor folder.
Following the naming conventions from NPM, I would suggest renaming the package to baguetteBox-js
. It's the only package I know that uses this type of folder naming.
Sorry for the inconvenience. When I first published it to npm it was actually quite common to append .js
to the name. Now I'd have to create some sort of a migration path and deprecate the old name, what is time-consuming.
If there's a way to have aliases in npm for the same package I'd be more than happy to do it.