#How to ignore ts error when bundling?

10 messages · Page 1 of 1 (latest)

harsh peak
#

I run

deno bundle '.main.ts' fibery.js

and it refuses to work due to 41 errors. Mostly they are any type error. When debugging they run fine. Is there a way to force bundling? I add the //@ts-ignore at the top of the file but it doesn't work

vale heron
vale tiger
#

Have you already tried the --check=none flag?

harsh peak
harsh peak
#

deno install https://deno.land/x/esbuild_deno_loader@0.8.1 and deno install https://deno.land/x/emit@0.25.0" return Module not found as well

vale heron
#

try using this too

vale tiger
harsh peak
#

Hmm, why can't it auto use mod.js?