The second paragraph is confusing.
Why should I have Webpack or something that webpack is bundling in dependencies? Both are often (there are exceptions) used only in development. Only server dependencies should be in dependencies?
Seems more semantic than downloading unused packages. 🤔
The less packages in production, the faster and safer 🤔
Maybe we should just Rollup our servers and not have runtime dependencies at all 🤔
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The second paragraph is confusing.
Why should I have Webpack or something that webpack is bundling in
dependencies
? Both are often (there are exceptions) used only in development. Only server dependencies should be independencies
?Hi Mihail,
I understand your confusion in the sentence when I say:
these packages
refers toall required dependencies
that your application needs at run-time. Not specifically Webpack or Rollup.Yeah, but I mean I put my webpack and clientside dependencies into
devDependencies
. And it works out great.it works, but it's not semantically correct.
Seems more semantic than downloading unused packages. 🤔
The less packages in production, the faster and safer 🤔
Maybe we should just Rollup our servers and not have runtime dependencies at all 🤔