claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 274 forks source link

question about post-package-script #204

Closed ispyinternet closed 5 years ago

ispyinternet commented 5 years ago

If you have quite an extensive devDependencies list, writing a script to npm uninstall them all afterwards could become quite tedious.

Could we not keep the devDependencies until after the post-package-script has completed, and then under the hood claudia could run npm prune --production?

ispyinternet commented 5 years ago

I guess there is nothing to stop you building the bundle before you claudia pack anyhow?

gojko commented 5 years ago

Hi - please send questions to the gitter chat channel, we use github issues only for bugs https://gitter.im/claudiajs/claudia