Reduce WASM bundle size
This commit is contained in:
@@ -44,3 +44,4 @@ console_error_panic_hook = "0.1"
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
<link data-trunk rel="copy-file" href="pwa/icons/icon.svg" data-target-path="icons">
|
||||
<link data-trunk rel="copy-file" href="pwa/icons/icon-192.png" data-target-path="icons">
|
||||
<link data-trunk rel="copy-file" href="pwa/icons/icon-512.png" data-target-path="icons">
|
||||
<link data-trunk rel="rust" href="Cargo.toml">
|
||||
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z">
|
||||
<link data-trunk rel="css" href="vendor/bootstrap.min.css">
|
||||
<link data-trunk rel="css" href="theme.css">
|
||||
<link data-trunk rel="css" href="style.css">
|
||||
|
||||
Reference in New Issue
Block a user