Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add noIncompleteNsImportDetection assumption to plugin-transform-modules-commonjs #13290

Merged
merged 1 commit into from Aug 3, 2021

Conversation

fedeci
Copy link
Member

@fedeci fedeci commented May 10, 2021

Q                       A
Fixed Issues? Closes #13278
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link babel/website#2545
Any Dependency Changes?
License MIT

We add a new assumption to let the user opt-out of export variable hoisting when transforming ES modules to commonjs.

@nicolo-ribaudo nicolo-ribaudo added area: modules PR: Needs Docs PR: New Feature 🚀 A type of pull request used for our changelog categories labels May 10, 2021
@babel-bot
Copy link
Collaborator

babel-bot commented May 10, 2021

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/47835/

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 10, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 849ecac:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@nicolo-ribaudo nicolo-ribaudo added this to the v7.15.0 milestone May 12, 2021
@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label May 12, 2021
@nicolo-ribaudo nicolo-ribaudo merged commit 7e50ee2 into babel:main Aug 3, 2021
@fedeci fedeci deleted the noIncompleteNsImportDetection branch August 3, 2021 21:55
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Nov 3, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: modules outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: New Feature 🚀 A type of pull request used for our changelog categories PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support a flag to optimize out export hoisting
5 participants