Skip to content

Identify the default export in an import #2

@akaptur

Description

@akaptur

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({...});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsingBugs in the parsing stage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions