Should it be in buildModules and devDependency?
See original GitHub issueShouldn’t documentation state that it should be added in buildModules
(or devModules
) rather than modules
? And shouldn’t it state that this is devDependency
then? As far as I can see it only affects building.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Do npm dependencies and devDependencies effect your ...
A definitive guide on the differences between you dev dependencies and regular dependencies in your package.json file and how they effect ...
Read more >Is this a dependency or devDependency? - With Blue Ink
The reason is that when someone installs your package from NPM, they will install all of its dependencies, but not the devDependencies.
Read more >npm install --production should ignore devDependencies in ...
We deploy our app to Heroku which runs an npm install --production . We have a shrinkwrap file in there that is generated...
Read more >The modules Property - Nuxt
Instead of adding to modules inside nuxt.config.js , use buildModules; Instead of adding to dependencies inside package.json , use devDependencies ( yarn ...
Read more >Build Nuxt.js on production required devDependences
HINT: During build step, for npm/yarn, NODE_ENV=production or --production should NOT be used." But it doesn't make sense because yarn install ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rchl
Some people use devDeps only for linters + testing utils and put “the rest” (so deps needed at build and at run time) in deps.
Others use devDeps for everything build-related and deps only for runtime builds.
@simplenotezy hey there,
devModules
is actually deprecated in favor ofbuildModules
, and you can indeed add it there. The benefit is thatbuildModules
are are not loaded innuxt start
.