Skip to content

Commit 2f6b8d2

Browse files
committed
Move napi features and unpin version in reusable crate
1 parent db5a8ed commit 2f6b8d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

napi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ lightningcss = { path = "../", features = ["nodejs", "serde"] }
2020
parcel_sourcemap = { version = "2.1.1", features = ["json"] }
2121
serde-detach = "0.0.1"
2222
smallvec = { version = "1.7.0", features = ["union"] }
23-
napi = {version = "=2.10.3", default-features = false, features = ["napi4", "napi5", "compat-mode", "serde-json"]}
23+
napi = {version = "2", default-features = false, features = ["napi4", "napi5", "serde-json"]}
2424
crossbeam-channel = { version = "0.5.6", optional = true }
2525
rayon = { version = "1.5.1", optional = true }

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib"]
1010

1111
[dependencies]
1212
lightningcss-napi = { version = "0.1.0", path = "../napi", features = ["bundler", "visitor"] }
13-
napi = {version = "=2.10.3", default-features = false, features = ["napi4", "napi5", "compat-mode", "serde-json"]}
13+
napi = {version = "=2.10.3", default-features = false, features = ["compat-mode"]}
1414
napi-derive = "2"
1515

1616
[target.'cfg(target_os = "macos")'.dependencies]

0 commit comments

Comments
 (0)