0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 13:38:21 -05:00

:bandage: fix: temporary fix for minifying js files (#565)

This commit is contained in:
ddotthomas 2024-05-04 10:57:40 -06:00 committed by GitHub
parent 2e50fa4edb
commit 408858a91e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

11
Cargo.lock generated
View File

@ -996,9 +996,9 @@ dependencies = [
[[package]]
name = "data-encoding"
version = "2.5.0"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
[[package]]
name = "deranged"
@ -2123,8 +2123,7 @@ dependencies = [
[[package]]
name = "minify-js"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1fa5546ee8bd66024113e506cabe4230e76635a094c06ea2051b66021dda92e"
source = "git+https://github.com/RuairidhWilliamson/minify-js?branch=master#8637df12fdb1d86d7586dde8adf4b8a5d39e7067"
dependencies = [
"aho-corasick 0.7.20",
"lazy_static",
@ -2431,9 +2430,9 @@ dependencies = [
[[package]]
name = "parse-js"
version = "0.20.1"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2742b5e32dcb5930447ed9f9e401a7dfd883867fc079c4fac44ae8ba3593710e"
checksum = "26f2abaec4434c4c5ec8bb3abfa112c9779f774b54ef3d9a6321e022cfcced5f"
dependencies = [
"aho-corasick 0.7.20",
"bumpalo",

View File

@ -99,7 +99,12 @@ tempfile = { version = "3.10.1", default-features = false }
lightningcss = { version = "1.0.0-alpha.55", default-features = false, features = [
"grid",
] }
minify-js = { version = "0.6.0", default-features = false }
# Disabled until bug fixing update
# minify-js = { version = "0.6.0", default-features = false }
# Temporary fork with fix
minify-js = { git = "https://github.com/RuairidhWilliamson/minify-js", branch = "master", version = "0.6.0", default-features = false}
[profile.dev]
opt-level = 0