Skip to content

Conversation

@lukastaegert
Copy link
Member

@lukastaegert lukastaegert commented Sep 24, 2020

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
resolves rollup/plugins#583

Description

In SystemJS at the moment, every default export is creating a new variable. This is causing issues when by accident the variable name conflicts with the name of an imported namespace, which is fixed here.

@lukastaegert lukastaegert force-pushed the system-default-conflict branch from 8284bd3 to 4b7173f Compare September 24, 2020 15:10
@rollup-bot
Copy link
Collaborator

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#system-default-conflict

or load it into the REPL:
https://rollupjs.org/repl/?circleci=13062

@codecov
Copy link

codecov bot commented Sep 24, 2020

Codecov Report

Merging #3796 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3796      +/-   ##
==========================================
- Coverage   97.03%   97.03%   -0.01%     
==========================================
  Files         185      185              
  Lines        6478     6477       -1     
  Branches     1877     1876       -1     
==========================================
- Hits         6286     6285       -1     
  Misses        101      101              
  Partials       91       91              
Impacted Files Coverage Δ
src/Chunk.ts 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a974a7...4b7173f. Read the comment docs.

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.

From 5.1.0: TypeError: Cannot read property '__esModule' of undefined

3 participants