-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
The future of --experimental-json-modules #37141
Copy link
Copy link
Closed
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The import assertions proposal is in stage 3 and V8 implemented it (the API will be available in V8 8.9).
The JSON modules proposal is in stage 2 and is built on top of import assertions.
I think it's time to discuss about what we are going to do with
--experimental-json-modules.We'll be able to implement the
type: "json"assertion soon. Should we aim to replace--experimental-json-moduleswith it? Should we add a new experimental flag? Should we deprecate the current behavior of--experimental-json-modules?@nodejs/modules