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

Handle module side effects #219

Merged
merged 8 commits into from May 15, 2019
Merged

Handle module side effects #219

merged 8 commits into from May 15, 2019

Conversation

lukastaegert
Copy link
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.

None yet

1 participant