There is a stage 3 proposal for import text from "path/to/file.txt" with { type: "text" };, similar to the type: "bytes" proposal which is supported as of 8f506d5 (modulo immutability).
Should just be a matter of wiring up the existing LoaderText, which has the same behavior (afaict precisely, in this case, no quibbles about mutability or anything).
There is a stage 3 proposal for
import text from "path/to/file.txt" with { type: "text" };, similar to thetype: "bytes"proposal which is supported as of 8f506d5 (modulo immutability).Should just be a matter of wiring up the existing
LoaderText, which has the same behavior (afaict precisely, in this case, no quibbles about mutability or anything).