Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Question: dynamic import() seems to expect .js files, what about .mjs? #539

Open
@misterbrownlee

Description

@misterbrownlee

Hi!

If this is a silly question, forgive me. I would expect .mjs to be supported for the .import(*) handler, but maybe I'm misunderstanding the ES Modules proposal? Or maybe this is not for thosetrying to use the --experimental-modules feature in Node? I'm playing catch up as we move from Node 6 to Node 8 and trying to get off Babel. Your insight is appreciated.

Thanks! - Aaron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions