You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your request related to a problem? Please describe.
When building node lambda, it runs just a npm install. If the package.json file has things in devDependencies, the package file may get a bit bloated unnecessarily. Specific case: one lambda goes from 4MB to 28MB, and obviously, takes a little longer to install the dependencies.
Describe the solution you'd like.
A way to signal the build process to append --omit=dev with node packages.
Describe alternatives you've considered.
Using a command list in source_path works, BUT that makes it not possible to use build_in_docker, which renders another list of issues (lots of different runtimes needed, CI pipelines, etc).
The text was updated successfully, but these errors were encountered:
Is your request related to a problem? Please describe.
When building node lambda, it runs just a
npm install
. If the package.json file has things indevDependencies
, the package file may get a bit bloated unnecessarily. Specific case: one lambda goes from 4MB to 28MB, and obviously, takes a little longer to install the dependencies.Describe the solution you'd like.
A way to signal the build process to append
--omit=dev
with node packages.Describe alternatives you've considered.
Using a command list in
source_path
works, BUT that makes it not possible to usebuild_in_docker
, which renders another list of issues (lots of different runtimes needed, CI pipelines, etc).The text was updated successfully, but these errors were encountered: