baguetteBox.js icon indicating copy to clipboard operation
baguetteBox.js copied to clipboard

Rename Package - Splitchunks issue

Open jan-dh opened this issue 6 years ago • 1 comments

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.

jan-dh avatar Aug 27 '18 13:08 jan-dh

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.

feimosi avatar Sep 16 '18 15:09 feimosi