DenoDDeno
Powered by
C_D_OC
Denoβ€’5mo agoβ€’
1 reply
C_D_O

Is it possible to run --unstable-raw-imports flag in Deno Deploy (classic)?

Getting a
The deployment failed: The import attribute type of "text" is unsupported
The deployment failed: The import attribute type of "text" is unsupported
when trying to deploy on Deno Deploy Classic with text based import attributes:
import example from "./some/file.txt" with { type: "text" }
import example from "./some/file.txt" with { type: "text" }


Works fine locally when adding
"unstable": ["raw-imports"],
"unstable": ["raw-imports"],
in
deno.jsonc
deno.jsonc
or even running with the
--unstable-raw-imports
--unstable-raw-imports
flag as per Deno docs. Maybe this is not (yet?) supported on Deno Deploy?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Is Deno Deploy Classic Organization/Project Migration Possible?
thefreedompeopleTthefreedompeople / help
2mo ago
Deno Deploy --cert flag
bera.funBbera.fun / help
4y ago
Unable to use Deno.createHttpClient without deprecated flag --unstable
moneroMmonero / help
3y ago
How to optimize imports on deno deploy?
patrickalima98Ppatrickalima98 / help
3y ago