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

Handle module side effects - #219

Merged
lukastaegert merged 8 commits into
masterfrom
handle-module-side-effects
May 15, 2019
Merged

lukastaegert merged 8 commits into
masterfrom
handle-module-side-effects

Conversation

@lukastaegert

Copy link
Copy Markdown
Member

This will support the upcoming moduleSideEffects flag in Rollup to handle package side-effects. This PR depends on rollup/rollup#2844, rollup/rollup-pluginutils#61 and rollup/rollup-plugin-commonjs#387.

This will also add some performance optimizations, mainly:

  • extracting information from package.json files is cached per package
  • the list of builtins is transformed into a Set for quicker access

@lukastaegert
lukastaegert merged commit f5e57a3 into master May 15, 2019
@lukastaegert
lukastaegert deleted the handle-module-side-effects branch May 15, 2019 07:55
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.

1 participant