-
-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Support for importing text modules #62082
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.loadersIssues and PRs related to ES module loaders.Issues and PRs related to ES module loaders.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.loadersIssues and PRs related to ES module loaders.Issues and PRs related to ES module loaders.
Type
Projects
- StatusShow more project fieldsAwaiting Triage
The TC39 proposal import-text and whatwg/html#11933 are adding support for a new import type:
This would parse the imported file as UTF-8, and make its value available as a JS String.
Tests for this are being added in tc39/test262#4607 and web-platform-tests/wpt#56812.
In Deno, support for this is already available with
--unstable-raw-imports.