Skip to content
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

Identify the default export in an import #2

Open
akaptur opened this issue Apr 17, 2021 · 0 comments
Open

Identify the default export in an import #2

akaptur opened this issue Apr 17, 2021 · 0 comments
Labels
bug Something isn't working parsing Bugs in the parsing stage

Comments

@akaptur
Copy link
Owner

akaptur commented Apr 17, 2021

Imports of the form

import CoolComponent, { A_CONSTANT } from "view/cool-component.vue";

currently break the parser.

The vue file looks like

export CONST = "some_constant";
export default CoolComponent = Vue.extends({...});
@akaptur akaptur added bug Something isn't working parsing Bugs in the parsing stage labels Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parsing Bugs in the parsing stage
Projects
None yet
Development

No branches or pull requests

1 participant