Skip to content

Commit

Permalink
Move napi features and unpin version in reusable crate
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Feb 23, 2024
1 parent db5a8ed commit 2f6b8d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion napi/Cargo.toml
Expand Up @@ -20,6 +20,6 @@ lightningcss = { path = "../", features = ["nodejs", "serde"] }
parcel_sourcemap = { version = "2.1.1", features = ["json"] }
serde-detach = "0.0.1"
smallvec = { version = "1.7.0", features = ["union"] }
napi = {version = "=2.10.3", default-features = false, features = ["napi4", "napi5", "compat-mode", "serde-json"]}
napi = {version = "2", default-features = false, features = ["napi4", "napi5", "serde-json"]}
crossbeam-channel = { version = "0.5.6", optional = true }
rayon = { version = "1.5.1", optional = true }
2 changes: 1 addition & 1 deletion node/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]

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

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

0 comments on commit 2f6b8d2

Please sign in to comment.