Open UROjQ6r80p opened 10 months ago
+1
hey @dvictory thank you for raising it, currently, pnpm is not really reliable, so please keep an eye on this issue https://github.com/floydspace/serverless-esbuild/issues/506 it addresses that pnpm support must be adjusted
+1
External modules are bundled without their dependencies.
Example serverless.yml:
module
@sparticuz/chromium
has dependencies:They are not included after command
pnpm exec serverless package
:To Reproduce Minimal repo to reproduce: https://github.com/UROjQ6r80p/serverless-esbuild-pnpm-no-nested-dependencies/tree/main
Expected behavior Dependencies of modules to be bundled together.
Versions (please complete the following information):