mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
43 lines
939 B
TOML
43 lines
939 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "wasm"
|
|
publish = false
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["swc_v1"]
|
|
swc_v1 = []
|
|
|
|
plugin = ["turbopack-binding/__swc_core_binding_wasm_plugin"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.66"
|
|
console_error_panic_hook = "0.1.6"
|
|
next-custom-transforms = { workspace = true }
|
|
serde_json = "1"
|
|
wasm-bindgen = { version = "0.2", features = ["enable-interning"] }
|
|
wasm-bindgen-futures = "0.4.8"
|
|
getrandom = { version = "0.2.9", default-features = false, features = ["js"] }
|
|
js-sys = "0.3.59"
|
|
serde-wasm-bindgen = "0.4.3"
|
|
turbopack-binding = { workspace = true, features = [
|
|
"__swc_core_binding_wasm",
|
|
"__feature_mdx_rs",
|
|
] }
|
|
swc_core = { workspace = true, features = ["ecma_ast_serde", "common"] }
|
|
|
|
|
|
# Workaround a bug
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|
|
|
|
# Workaround a bug
|
|
[package.metadata.wasm-pack.profile.dev]
|
|
wasm-opt = false
|