-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to skip packaging externals #152
Comments
Hello @samrith-s You can list modules in the
Please let me know if that works for you. |
Hey @vamche , Thanks for your response. Afaik, I am already doing that. All the packages are listed in |
@samrith-s I was talking about the custom:
esbuild:
bundle: true
minify: true
keepNames: true
sourcemap: true
external:
- 'cache-manager'
- 'class-transformer'
- 'class-validator'
- '@nestjs/microservices'
- '@nestjs/websockets'
exclude:
- 'cache-manager'
- 'class-transformer'
- 'class-validator'
- '@nestjs/microservices'
- '@nestjs/websockets'
plugins: 'esbuild.plugins.js'
|
@samrith-s Did you get a chance to try with |
Closing the issue since there is no activity anymore. |
Hey,
I have these options in my SLS config:
However, once it bundles, it runs this:
I want to completely skip it as these packages are opt-in in NestJS. Is there any way to achieve it? I see from the code that this plugin packages externals. Is there any way to completely skip them?
The text was updated successfully, but these errors were encountered: