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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
λ> parseModule "export {x} from 'lib.mjs';" "src" Right (JSAstModule [JSModuleExportDeclaration (JSAnnot (TokenPn 0 1 1) []) (JSExportFrom (JSExportClause (JSAnnot (TokenPn 7 1 8) [WhiteSpace (TokenPn 6 1 7) " "]) (JSLOne (JSExportSpecifier (JSIdentName (JSAnnot (TokenPn 8 1 9) []) "x"))) (JSAnnot (TokenPn 9 1 10) [])) (JSFromClause (JSAnnot (TokenPn 11 1 12) [WhiteSpace (TokenPn 10 1 11) " "]) (JSAnnot (TokenPn 16 1 17) [WhiteSpace (TokenPn 15 1 16) " "]) "'lib.mjs'") (JSSemi (JSAnnot (TokenPn 25 1 26) [])))] (JSAnnot (TokenPn 0 0 0) [])) λ> parseModule "export * from 'lib.mjs';" "src" Left "MulToken {tokenSpan = TokenPn 7 1 8, tokenComment = [WhiteSpace (TokenPn 6 1 7) \" \"]}"
Expected export * from 'lib.mjs' to parse as valid JavaScript. Actual: it doesn't.
export * from 'lib.mjs'
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
The text was updated successfully, but these errors were encountered:
Support export *, see erikd#124
3c57269
4da9fb7
No branches or pull requests
Expected
export * from 'lib.mjs'
to parse as valid JavaScript.Actual: it doesn't.
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
The text was updated successfully, but these errors were encountered: