We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5d0d0 commit 8a95ddeCopy full SHA for 8a95dde
Cargo.toml
@@ -13,6 +13,10 @@ crate-type = ["cdylib", "rlib"]
13
[features]
14
default = ["wee_alloc", "console_error_panic_hook"]
15
16
+[profile.release]
17
+lto = true
18
+opt-level = 's'
19
+
20
[dependencies]
21
wasm-bindgen = "0.2"
22
brotli = "3.3"
build.js
@@ -6,6 +6,7 @@ if (!shell.which('wasm-pack')) {
6
7
// Clean up any existing built content:
8
shell.rm('-rf', 'dist');
9
+shell.rm('-rf', 'pkg.*');
10
shell.mkdir('dist');
11
12
// Create the bundler output
0 commit comments