-
-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Open
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loaders
Description
The TC39 proposal import-text and whatwg/html#11933 are adding support for a new import type:
import text from "path/to/file.txt" with { type: "text" };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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loaders
Type
Projects
Status
Awaiting Triage