Skip to content

dynamic import with assert #1111

@jacekkopecky

Description

@jacekkopecky

Hi, judging by my eslint failing, it seems that acorn doesn't yet support dynamic imports with assertions:

import('./package.json', { assert: { type: "json" } });

This syntax is currently in stage 3 so maybe it's out of scope for now – is there a policy on when things get implemented?

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