This is a Bug Report
Description
For bug reports:
forceExclude doest work correctly with node16(npm v8) when excluded dep. defined as peerDep for one of the packages. In my caase aws-sdk in not excluded which drastically increase the final packet size. Was prepared example repo with described steps to reproduce: https://github.com/collierrgbsitisfise/serverless-webpack-issue
Similar or dependent issue(s):
Additional Data
- Serverless-Webpack Version: ^5.11.0:
- Webpack version you're using: ^5.79.0:
- Serverless Framework Version you're using: ^3.30.1:
- node: 16.16:
- npm: 8:
This is a Bug Report
Description
For bug reports:
forceExclude doest work correctly with node16(npm v8) when excluded dep. defined as peerDep for one of the packages. In my caase aws-sdk in not excluded which drastically increase the final packet size. Was prepared example repo with described steps to reproduce: https://github.com/collierrgbsitisfise/serverless-webpack-issue
Similar or dependent issue(s):
Additional Data