Skip to content
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

Exclude nested dependencies #447

Closed
victorbartel opened this issue Sep 18, 2018 · 1 comment
Closed

Exclude nested dependencies #447

victorbartel opened this issue Sep 18, 2018 · 1 comment

Comments

@victorbartel
Copy link

This is an issue related to exclusion of nested dependencies

Description

When you need to exclude a first level dependency, for example aws-sdk, you can achieved it with:

custom:
  webpack:
    includeModules:
      forceExclude:
        - aws-sdk

But what about libraries that depend on aws-sdk and include it to their nested node_modules folder?
I've tried to fix it with:

custom:
  webpack:
    includeModules:
      forceExclude:
        - aws-sdk
        - amazon-dax-client/node_modules/aws-sdk

But with no luck.

@HyperBrain
Copy link
Member

Hi @victorbartel ,
this is a duplicate of #306 which already describes the problem. I'll close this and we should continue the discussion in the original one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants