Skip to content

Help needed, excluding aws-sdk from Minimize build #1662

Description

@pranavburnwal

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.

Similar or dependent issue(s):

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions