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
Parse string export names by default (moduleStringNames
)
#13195
Parse string export names by default (moduleStringNames
)
#13195
Conversation
ad09030
to
9370d4c
Compare
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/45534/ |
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 d4f77d8:
|
cf45eef
to
2d0b249
Compare
9370d4c
to
3795942
Compare
Note that we don't have a plugin to transform this. It would be possible to transform imports: import { "a b" as x } from "mod";
x;
// ->
import * as _mod from "mod";
_mod["a b"]; but I think that exports are impossible to transpile. |
* Parse string epxort names by default (`moduleStringNames`) * Remove remaining references
* Parse string epxort names by default (`moduleStringNames`) * Remove remaining references
* Parse string epxort names by default (`moduleStringNames`) * Remove remaining references
Ref: tc39/ecma262#2154
This syntax is effectively stage 4. It didn't go through the proposals process, but: