Skip to content

Commit 12cfb9d

Browse files
committed
disable minify
1 parent 658e3d1 commit 12cfb9d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

frontend/Dioxus.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ default_platform = "web"
55
[web.app]
66
title = "cAssets dToken Wrapper"
77
base_path = "cAssets_dToken_wrapper"
8+
## keeps CSP happy
89
csp_hash = true
10+
## avoids SWC minifier errors
11+
minify_js = false
912

1013
[web.wasm]
11-
mode = "bundled"
14+
## ensures WASM + JS are together
15+
mode = "bundled"
16+
## forces Dioxus to generate the snippets/ folder for wasm-bindgen helpers
17+
## snippets = true

0 commit comments

Comments
 (0)