Reputation: 703
If I use NPM packages for development, then should i install the same packages for production also or is there any alternate way to deploy with out them.
Thanks.
Upvotes: 0
Views: 254
Reputation: 1952
I would suggest to never use npm packages directly for production but instead use a tool like webpack to bundle the scripts that are needed for your project.
Upvotes: 2
Reputation: 353
you can use NPM packages for development and you can create a gulp task to move your file from node_module to your dist directory for your production release. This is my approch
Upvotes: 0