Open lucacasonato opened 2 months ago
The import as text
could also be very useful for bundler plugins.
Would be super useful for deno compile
apps (https://github.com/denoland/deno/issues/17994)
Consider immutable ArrayBuffer and spelling import uint8array from 'octets.bin' with { type: 'bytes' }
to line up with type: 'json'
: https://github.com/tc39/proposal-immutable-arraybuffer
Would import the relevant file as a byte buffer (
Uint8Array
). Maybe alsoimport foo from "./bar.txt" with { as: "text" }
?