You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build with --bundle fails if code has unknown on catch clause bindings.
I'm not sure if this is expected because the type system should be irrelevant for esbuild, but I can't get it to work.
Here is my error:
$ yarn esbuild --bundle src/index.ts --minify --sourcemap
src/hooks/useRequest.ts:160:18: error: Expected ")" but found ":"
} catch (error: unknown) {
^
1 error
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
Build with
--bundle
fails if code hasunknown
oncatch
clause bindings.I'm not sure if this is expected because the type system should be irrelevant for
esbuild
, but I can't get it to work.Here is my error:
The text was updated successfully, but these errors were encountered: