chore(es/parser): Scope use of lexical to certain features (#7644)

This commit is contained in:
Manish Goregaokar 2023-07-13 07:37:25 +05:30 committed by GitHub
parent e4f9f734ad
commit a961090c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ members = [
"crates/swc_timer", "crates/swc_timer",
"crates/swc_xml", "crates/swc_xml",
] ]
resolver = "2"
[profile.release] [profile.release]
# lto = true # lto = true

View File

@ -25,7 +25,7 @@ verify = ["swc_ecma_visit"]
[dependencies] [dependencies]
either = { version = "1.4" } either = { version = "1.4" }
lexical = { version = "6.1.0", features = ["power-of-two"] } lexical = { version = "6.1.0", features = ["power-of-two", "parse-integers", "parse-floats"], default-features = false }
num-bigint = "0.4" num-bigint = "0.4"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
smallvec = "1.8.0" smallvec = "1.8.0"