Skip to content

Better ES6 support #15

@Rich-Harris

Description

@Rich-Harris

Would be good to support export default syntax alongside component exports =, and have better support for import statements (at present they work in an ES6-ified build chain, but only really by accident – you can't author using ES6 imports and expect the component to work in anyone else's environment).

For good measure, it'd make sense to support <script type='module'>, since linters and highlighters should probably complain if they see imports and exports inside a regular script.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions