Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Add manualchunk support #185

Merged
merged 4 commits into from Dec 9, 2018

Conversation

mcshaman
Copy link
Contributor

Fixes #164

No longer skipping modules without an an importer argument. Modules listed as manualChunks don't pass an importer argument. Code comment seems to suggest this was done to skipped input modules, possibly to restrict them to relative resolution only. However the proposed fix should still resolve relative inputs and also allow node module resolution on both inputs and manual chunks.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Thanks! I removed a left-over .only from the test but otherwise this looks good to me! Will play around with this a little more but this will fit nicely with the 1.0 release.

@lukastaegert lukastaegert merged commit 0ef101d into rollup:master Dec 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error "Could not resolve entry (<module>)" when using manualChunks
2 participants