Files
Andrew BradleyandGitHub ec7c19d8a6 Fix swc issues (#2062)
* Bump minimum version of swc to 1.3.84

* Fix type error caused by swc's mismatched types between @swc/wasm and @swc/core

* Update swc options to match latest swc version, fix bug where swc was emitting import assertions as `with` which node does not understand

* Pass correct useDefineForClassFields, derived from tsconfig

* Fix bug where ts-node errored when swc or custom transpiler returned undefined for sourcemap

* pass jsxImportSource to swc

* Bump min swc version to 1.3.85

Fix issue introduced by swc 1.3.85 with module options that are now forbidden instead of ignored for certain module types

remove failing useDefineForClassFields case because I forgot that implicit compiler options were in effect, so default target is actually much higher than I expected
2023-09-15 19:09:01 -04:00

2 lines
11 B
TypeScript