Skip to content

Commit 7109988

Browse files
committed
fix: improved way to enable devtools in production ui builds
Signed-off-by: Nick Mitchell <[email protected]>
1 parent 683e62b commit 7109988

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pdl-live-react/src-tauri/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tauri-build = { version = "2", features = [] }
2020
[dependencies]
2121
#tauri-plugin-pty= { path = "../../../tauri-plugin-pty" }
2222
tauri-plugin-pty= "0.1"
23-
tauri = { version = "2", features = [] }
23+
tauri = { version = "2", features = ["devtools"] }
2424
tauri-plugin-opener = "2"
2525
serde = { version = "1", features = ["derive"] }
2626
serde_json = "1"
@@ -36,7 +36,3 @@ base64ct = { version = "1.7.1", features = ["alloc"] }
3636
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
3737
tauri-plugin-cli = "2"
3838
tauri-plugin-window-state = "2"
39-
40-
[profile.release.package.wry]
41-
debug = true
42-
debug-assertions = true

0 commit comments

Comments
 (0)