unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

Bundle `dist/node_modules`

Open NamesMT opened this issue 2 years ago • 4 comments

Describe the feature

Hi, I'm booting up a project for AWS Lambda, I'm currently finding a way to ship installed (even better, maybe used?) dependencies within the dist, without doing a manual --prod only install.

The best I could do is install everything as devDependencies and turn on rollup.inlineDependencies, Is it possible to have the builder includes all used dependencies in a node_modules folder instead of inline?

if not, how about just include all installed dependencies to node_modules?

Thanks in advance.

Additional information

  • [x] Would you be willing to help implement this feature?

NamesMT avatar Jul 03 '23 02:07 NamesMT