Skip to content

Don't dedupe assets that are depended on in more than one bundle#2122

Merged
devongovett merged 2 commits into
masterfrom
dedup-hoist
Oct 11, 2018
Merged

Don't dedupe assets that are depended on in more than one bundle#2122
devongovett merged 2 commits into
masterfrom
dedup-hoist

Conversation

@devongovett

Copy link
Copy Markdown
Member

↪️ Pull Request

Assets that are depended on in more than one bundle (e.g. hoisted) shouldn't be deduped in the parent bundle or the asset ids will be incorrect. The child bundle has no way of accessing the parent deduped id. This PR disables deduping for modules which are accessed by an external bundle.

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

@DeMoorJasper DeMoorJasper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best to fix the tests for this on node 6

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

Successfully merging this pull request may close these issues.

2 participants