Skip to content

Commit

Permalink
feat(napi/parser): add crate-type: "lib" (#8067)
Browse files Browse the repository at this point in the history
The rolldown need export it to instead of `rollup/parseAst`, ref
https://rollupjs.org/javascript-api/#accessing-the-parser
  • Loading branch information
underfin authored Dec 23, 2024
1 parent 922670e commit f79e9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napi/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description.workspace = true
workspace = true

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

Expand Down

0 comments on commit f79e9ad

Please sign in to comment.