[oden] Use deno_ast instead of raw swc for typescript

OK, look, I hate SWC and I really don't want to use it if I can help
it, but the other options are worse.
This commit is contained in:
John Doty 2023-09-16 22:48:17 -07:00
parent 7a1bf5a19b
commit c02eb25873
3 changed files with 192 additions and 284 deletions

View file

@ -11,6 +11,7 @@ tracing = ["tracy-client/enable"]
[dependencies]
anyhow = "1.0"
bytemuck = { version = "1.13", features = ["derive"] }
deno_ast = { version = "0.29.3", features = ["transpiling", "typescript"] }
env_logger = "0.10"
fontdue = "0.7.3"
image = { version = "0.24", default-features = false, features = ["png"] }
@ -19,12 +20,6 @@ lru = "0.11.0"
notify = "6"
oden-js = { path = "oden-js" }
pollster = "0.3"
swc_common = "0.31.16"
swc_ecma_codegen = "0.141.10"
swc_ecma_parser = "0.136.7"
swc_ecma_transforms_base = "0.129.13"
swc_ecma_transforms_typescript = "0.179.18"
swc_ecma_visit = "0.92.5"
tracy-client = { version = "0.15.2", default-features = false }
wgpu = "0.17"
winit = "0.28"