Skip to content

Support Import Assertions #4934

@xiaoxiangmoe

Description

@xiaoxiangmoe

https://github.com/tc39/proposal-import-assertions

import json from "./foo.json" assert { type: "json" };

Vite should support import-assertions because it has entered stage 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or requestp2-nice-to-haveNot breaking anything but nice to have (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions