-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Description
This is a (Bug Report / Feature Proposal)
Help needed
Description
I have tried to replicate my minimal local build exclusion problem in https://github.com/pranavburnwal/serverless-webpack-debug
Once the minimised build is done, even though aws-sdk v3 is excluded, it still includes it.
Ref: https://github.com/pranavburnwal/serverless-webpack-debug/tree/main#serverless-webpack-debug
Have tried all possible solutions, it still packs @AWS-SDK in.
- https://github.com/pranavburnwal/serverless-webpack-debug/blob/main/webpack.config.js#L85
- https://github.com/pranavburnwal/serverless-webpack-debug/blob/main/serverless.yml#L34
- https://github.com/pranavburnwal/serverless-webpack-debug/blob/main/webpack.config.js#L49
Similar or dependent issue(s):
- Unable to exclude aws-sdk from bundle #1222
- Reduce bundle size by removing unnecessary files from node_modules #519
- Unable to exclude package from being bundled #1218
Additional Data
- Serverless-Webpack Version you're using:5.13
- Webpack version you're using: 5.1.4
- Serverless Framework Version you're using:
Framework Core: 3.38.0 (local) 3.33.0 (global)
Plugin: 7.2.0
SDK: 4.5.1 - Operating System:
MacOS M1 Arch - Stack Trace (if available):
Please feel free to close if I am in the wrong place.
EDIT: Added more references of exclusion.
lev-apeiros, pbalajiips and sean-maker-tech
Metadata
Metadata
Assignees
Labels
No labels