Skip to content

Identify the default export in an import #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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