Skip to content

allow resolved module IDs to be non-strings - #692

Merged
Rich-Harris merged 1 commit into
masterfrom
non-string-ids
Jun 7, 2016
Merged

allow resolved module IDs to be non-strings#692
Rich-Harris merged 1 commit into
masterfrom
non-string-ids

Conversation

@Rich-Harris

Copy link
Copy Markdown
Contributor

The purpose of this is to allow plugins like rollup-plugin-commonjs and rollup-plugin-babel to supply 'helper' modules (which transformed modules then depend on) without having to use daft string IDs like __babelHelpers__ and hoping that there are no collisions.

The larger goal is to make it easier for to plugins to be stateless, which advances the goal of incremental rebuilds (see #658 (comment)).

@Rich-Harris
Rich-Harris merged commit 7a03bf0 into master Jun 7, 2016
@Rich-Harris
Rich-Harris deleted the non-string-ids branch June 7, 2016 02:38
Rich-Harris added a commit that referenced this pull request Jun 7, 2016
Rich-Harris added a commit that referenced this pull request Jun 7, 2016
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.

1 participant