fix(Standalone): Ensure proper npm bundling

This commit is contained in:
Piotr Grzesik 2022-04-07 14:34:29 +02:00
parent 0a0f6c6102
commit cf482f0170

View File

@ -21,6 +21,7 @@ module.exports = {
'../../node_modules/@serverless/dashboard-plugin/sdk-js/dist/index.js',
'../../node_modules/@serverless/dashboard-plugin/sdk-py',
// Ensure npm is bundled as a dependency
'../../node_modules/npm/lib',
'../../node_modules/npm/bin/npm-cli.js',
// Below module is not automatically traced by pkg, we need to point it manually
// See: https://github.com/npm/npm-lifecycle/pull/41