Skip to content

The import Attribute has been removed. #5778

@smallmain

Description

@smallmain

Reproduction link or steps

import cfgsPackageJson from '@meojs/cfgs/package.json' with { type: 'json' };

Use target esnext.

What is expected?

import cfgsPackageJson from '@meojs/cfgs/package.json' with { type: 'json' };

Preserve import Attribute.

What is actually happening?

import cfgsPackageJson from "@meojs/cfgs/package.json";

The import attribute has been removed.

Any additional comments?

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions