-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
fix(commonjs)!: check if defaultIsModuleExports is auto for getDefaultExportFromCjs #1358
Conversation
…ion is auto, if defaultIsModuleExports option is auto, the export may should be wrapped with getDefaultExportFromCjs
Tests are required for fixes and features. |
33ad873
to
bf20931
Compare
i have fixed some test cases which fail to pass the tests, and add a test case for the problem solved by this mr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flyingbirdhub thanks for your patience on this. we're ready to merge this but there is a conflict that needs to be addressed first. please take a look
62801a8
to
eca3ed8
Compare
@shellscape i have solved this conflict, pls task a look, thanks |
if defaultIsModuleExports option is auto, the export may should be wrapped with getDefaultExportFromCjs
Rollup Plugin Name:
@rollup/plugin-commonjs
This PR contains:
Are tests included?
Breaking Changes?
some break changes, when run test command, i do not know if it is right, but here need to be fixed in some way
List any relevant issue numbers:
#1209
Description