3 ms·
These are packages published to npm. If you’re bundling all of your dependencies into your package with webpack before publishing it, they should all go in devD
by minitech 9y ago
These are packages published to npm. If you’re bundling all of your dependencies into your package with webpack before publishing it, they should all go in devDependencies, since someone installing the published package doesn’t need them.
- jeremejevs 9y agoYou are correct. Got too used to the "just add everything to regular dependencies" shortcut in private projects, which doesn't cut it for published modules.