We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--release
dx
1 parent b6bc86c commit da60f1aCopy full SHA for da60f1a
.changes/dioxus-release.md
@@ -0,0 +1,6 @@
1
+---
2
+"create-tauri-app": patch
3
+"create-tauri-app-js": patch
4
5
+
6
+Pass `--release` to `dx` CLI in `beforeBuildCommand` for `dioxus` template to generate smaller and optimized wasm bundle.
templates/template-dioxus/.manifest
@@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT
beforeDevCommand = dx serve --port 1420
-beforeBuildCommand = dx build
+beforeBuildCommand = dx build --release
7
devUrl = http://localhost:1420
8
frontendDist = ../dist
9
withGlobalTauri = true
0 commit comments