Skip to content

Can't include export keyword in comments. #253

@xiaoxiangmoe

Description

@xiaoxiangmoe

see microbundle-error

// FIXME: this is a bug of micro bundle.
// 1. only can ex🦀️port default value by named ex🦀️port.
// 2. and can't include ex🦀️port keyword in comments.
export { identity as default };

If I remove 🦀️, it will throw an error.
If I change it to export default identity, it will throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions