Closed apendua closed 7 years ago
@apendua I think it's the opposite: bundled dependencies should use devDependencies
If you have a library which uses dependencies
, then anybody using that library will download those dependencies even though they're not used.
However, the script
example doesn't do any bundling, so you're right that it should be using dependencies
The script
example has been updated to use dependencies
This is alright for development environment,
but ideally these should be
dependencies
as that's the place where most people expect to find packages that get bundled in the production version. Of course, in most cases it does not break anything, but I think it's still forth fixing to reduce confusion.