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
const { init, parse } = require('es-module-lexer') init.then(() => { const [imports, ex] = parse(` const o = { name5: 1, name6: 1 } export const { name5, name6: bar } = o` ) console.log(imports, ex) })
Outputs
[] [ { s: 49, e: 54, ls: 49, le: 54, n: 'name5', ln: 'name5' }, { s: 56, e: 61, ls: 56, le: 61, n: 'name6', ln: 'name6' } ]
But there should be a bar export instead of name6.
bar
name6
The text was updated successfully, but these errors were encountered:
es-module-lexer
Note the above should read:
[] [ { s: 49, e: 54, ls: 49, le: 54, n: 'name5', ln: 'name5' }, { s: 56, e: 61, ls: 56, le: 61, n: 'bar', ln: 'bar' } ]
Sorry, something went wrong.
No branches or pull requests
Outputs
But there should be a
bar
export instead ofname6
.The text was updated successfully, but these errors were encountered: