Skip to content

No way to specify absolute paths for ES6 imports #9

@gCardinal

Description

@gCardinal

I might be wrong, but I could not find any way to make it work for me and the doc does not suggest that feature exists.

Currently, when I import, if I let the plugin autocomplete this import statement: import Person from 'app/Per, I will get import Person from 'Person.js' as my import. I would much rather have app/Person for refactoring reasons.

Maybe there could be an option in the plugin to tell it if we prefer absolute or relative paths?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions