You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Douglas, dev dependency in readme is due to my muscle memory. Bundlers like Rollup, Webpack, and Parcel don't differentiate between dependencies and devDependencies. As long as you import the package in the source code somewhere in the tree of your entry file, it ends up in the production bundle. I tested it with Vite.
When you run npm install --production, npm installs only the dependencies. In that case, move it to dependencies.
This means it won't be built into production bundles.
The text was updated successfully, but these errors were encountered: