bennypB
Denoβ€’9mo agoβ€’
1 reply
bennyp

deno compile --include whatev.wasm

I'd like to include a wasm file as data, but when I try to --include it I get

error: Relative import path "env" not prefixed with / or ./ or ../ and not in import map from "file:///var/home/bennyp/Developer/design-tokens-language-server/src/server/css/tree-sitter/tree-sitter-css.wasm"


I'm aware that the docs say to add wasm imports to the import map, but that's not what I'm getting at: I just want to include a tree sitter grammar as data so that web-tree-sitter can load it up.
Was this page helpful?