Skip to content

process imports from mjs to non-esm correctly#6012

Merged
sokra merged 2 commits intonextfrom
feature/mjs-import-non-esm
Nov 24, 2017
Merged

process imports from mjs to non-esm correctly#6012
sokra merged 2 commits intonextfrom
feature/mjs-import-non-esm

Conversation

@sokra
Copy link
Copy Markdown
Member

@sokra sokra commented Nov 23, 2017

What kind of change does this PR introduce?
feature

Did you add tests for your changes?
yes

If relevant, link to documentation update:
n/a

Summary
process imports from mjs to non-esm correctly
give nice error messages when importing non-esm the wrong way
It also disallows using namespace object from non-esm modules

fixes #5686

Does this PR introduce a breaking change?
yes

Other information

give nice error messages when importing non-esm the wrong way
It also disallows using namespace object from non-esm modules

fixes #5686
@webpack-bot
Copy link
Copy Markdown
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@sokra sokra merged commit 9c25669 into next Nov 24, 2017
@sokra sokra deleted the feature/mjs-import-non-esm branch November 24, 2017 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants