Node.js 26.5.0 shipped with a flag to enable import text proposal now that its Stage 3 github.com/nodejs/node/...
github.comloader: add experimental text import by efekrskl · Pull Request #62300 · nodejs/nodeCloses #62082
Adds support for text import under --experimental-import-text flag.
Example:
import text from './file.txt' with { type: 'text' };
Import text is a Stage 3 TC39 proposa...
0 reposts3 likes