0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 21:48: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]] [[package]]
name = "data-encoding" name = "data-encoding"
version = "2.5.0" version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
[[package]] [[package]]
name = "deranged" name = "deranged"
@ -2123,8 +2123,7 @@ dependencies = [
[[package]] [[package]]
name = "minify-js" name = "minify-js"
version = "0.6.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/RuairidhWilliamson/minify-js?branch=master#8637df12fdb1d86d7586dde8adf4b8a5d39e7067"
checksum = "b1fa5546ee8bd66024113e506cabe4230e76635a094c06ea2051b66021dda92e"
dependencies = [ dependencies = [
"aho-corasick 0.7.20", "aho-corasick 0.7.20",
"lazy_static", "lazy_static",
@ -2431,9 +2430,9 @@ dependencies = [
[[package]] [[package]]
name = "parse-js" name = "parse-js"
version = "0.20.1" version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2742b5e32dcb5930447ed9f9e401a7dfd883867fc079c4fac44ae8ba3593710e" checksum = "26f2abaec4434c4c5ec8bb3abfa112c9779f774b54ef3d9a6321e022cfcced5f"
dependencies = [ dependencies = [
"aho-corasick 0.7.20", "aho-corasick 0.7.20",
"bumpalo", "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 = [ lightningcss = { version = "1.0.0-alpha.55", default-features = false, features = [
"grid", "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] [profile.dev]
opt-level = 0 opt-level = 0