Hacker News new | ask | show | jobs
by markuspoerschke 2209 days ago
Why do the devDependencies gets less attention than the "normal" dependencies?

In my case, it does not matter if the dependency was added to "dev" or "normal", because I just compile JavaScript and CSS to a minified version. All dependencies are needed in the build process only.

I would recomment not to differentiate between runtime dependencies and dev dependencies.

1 comments

Usually, your runtime deps are still in your minified version and used during runtime. But in general, it might be a good idea to offer this as an option to the user how the money should be distributed.