Skip to content

Commit

Permalink
feat(napi/transform): add crate-type: "lib" (#3876)
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin authored Jun 26, 2024
1 parent a89d501 commit bbe8336
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ oxc_prettier = { path = "crates/oxc_prettier" }
oxc_tasks_common = { path = "tasks/common" }
oxc_ast_codegen = { path = "tasks/oxc_ast_codegen" }

napi = "2.16.6"
napi-derive = "2.16.5"
napi = "3.0.0-alpha.1"
napi-derive = "3.0.0-alpha.1"
napi-build = "2.1.3"

assert-unchecked = "0.1.2"
Expand Down
2 changes: 1 addition & 1 deletion napi/transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories.workspace = true
workspace = true

[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "lib"]
test = false
doctest = false

Expand Down

0 comments on commit bbe8336

Please sign in to comment.