question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

does pkg include devDependecies?

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
sergejostircommented, Jul 1, 2019

It includes only what the script(s) require or you specify manually. You should read the readme thoroughly.

0reactions
m4heshdcommented, Oct 21, 2022

Oh that’s definitely interesting. Gotta do some inspection on my project.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found