We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a cloneable repro Gist with config, input, and outputs, using @babel/* v7.0.0-beta.53 and babel-plugin-add-module-exports v0.3.1:
@babel/*
babel-plugin-add-module-exports
https://gist.github.com/insin/078533bae2d2e91ec94e90ff91e95593
I suspect the exports.__esModule = true; line in the loose version is triggering the hasExportsNamed check here:
exports.__esModule = true;
hasExportsNamed
babel-plugin-add-module-exports/src/index.js
Lines 76 to 84 in 4ea15e3
Should a special case be added for exports.__esModule?
exports.__esModule
The text was updated successfully, but these errors were encountered:
test: add replication test of #61
880a1a2
c79f39d
Successfully merging a pull request may close this issue.
Here's a cloneable repro Gist with config, input, and outputs, using
@babel/*
v7.0.0-beta.53 andbabel-plugin-add-module-exports
v0.3.1:https://gist.github.com/insin/078533bae2d2e91ec94e90ff91e95593
I suspect the
exports.__esModule = true;
line in the loose version is triggering thehasExportsNamed
check here:babel-plugin-add-module-exports/src/index.js
Lines 76 to 84 in 4ea15e3
Should a special case be added for
exports.__esModule
?The text was updated successfully, but these errors were encountered: