does pkg include devDependecies?
See original GitHub issueThe question is if pkg includes the devDependencies, and if that’s the case, if it’s possible to exclude them from the build specifying --only=production
or something similar
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Adding dependencies to a package.json file - npm Docs
"dependencies" : Packages required by your application in production. "devDependencies" : Packages that are only needed for local development and testing.
Read more >node.js - What's the difference between dependencies ...
Dev dependencies are modules which are only required during development whereas dependencies are required at runtime. If you are deploying your application, ...
Read more >NPM: devDependencies vs dependencies in package.json
Both dependencies and devDependencies are two plain JSON objects in package.json. Both contain the names and versions of the dependent node modules (NPM ......
Read more >The difference between dependencies and devDependencies ...
"devDependencies" are required to develop and build your app, but are not needed to run the final version that customers will use. For...
Read more >Is this a dependency or devDependency? - With Blue Ink
dependencies : Packages required by your application in production. · devDependencies : Packages that are only needed for local development and ...
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 Free
Top 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
It includes only what the script(s) require or you specify manually. You should read the readme thoroughly.
Oh that’s definitely interesting. Gotta do some inspection on my project.