Skip to content

Support optional use of Yarn for packaging (instead of NPM) #286

@RishitKedia

Description

@RishitKedia

Hey! 👋

As discussed here with @HyperBrain, it'd be great if we could optionally use Yarn for packaging files, instead of NPM. 🙂

In particular, since serverless-webpack completely relies on NPM and uses it for packaging files, I'm having issues using serverless-webpack with Yarn Workspaces.

Currently, the bundled file is very huge (4 MB when used with Yarn Workspaces) compared to the same project when not used with Yarn Workspaces (25 kB). serverless-webpack bundles all the dependencies in one file even when using webpack-node-externals and webpackIncludeModules.

Thanks! 😃

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions