Open lucacasonato opened 1 week ago
Would import the relevant file as a byte buffer (Uint8Array). Maybe also import foo from "./bar.txt" with { as: "text" }?
Uint8Array
import foo from "./bar.txt" with { as: "text" }
The import as text could also be very useful for bundler plugins.
text
Also see https://github.com/whatwg/html/issues/9444
Would be super useful for deno compile apps (https://github.com/denoland/deno/issues/17994)
deno compile
Would import the relevant file as a byte buffer (
Uint8Array
). Maybe alsoimport foo from "./bar.txt" with { as: "text" }
?