serverless-layers
serverless-layers copied to clipboard
devDependecies removed before package builded
Hi!
I use serverless-webpack plugin, when i deploy app it throws Cannot find module 'webpack-node-externals'
because plugin skip dev modules
Why would you need webpack-node-externals
in the bundle inside the lambda? I reckon that's exactly right, it must ignore dev dependencies to make the bundle smaller. If you are trying to do something specific that requires that module, would make sense to move from devDependencies
to dependencies
.