Closed mcgear closed 5 months ago
You didn't follow the issue reporting instructions because there is no way to reproduce your issue. I tried to reproduce it myself using esbuild's instructions for Deno along with your code and could not reproduce it:
$ cat example.js
import * as esbuild from 'https://deno.land/x/esbuild@v0.20.1/wasm.js'
await esbuild.initialize({
worker: false,
})
let ts = 'let test: boolean = true'
let result = await esbuild.transform(ts, { loader: 'ts' })
console.log('result:', result)
await esbuild.stop()
$ deno run --allow-net example.js
result: {
warnings: [],
code: "let test = true;\n",
map: "",
mangleCache: undefined,
legalComments: undefined
}
Marking this issue as unactionable
because there is insufficient information here. This issue will be closed if sufficient information is not provided.
Closing due to lack of information.
I am trying to use an app on Deno Deploy, but even with
I get an error when esbuild.transform is used. Does transform work with the worker false?