web: switch to debug build and enable minimal optimizations to make wasm work

This commit is contained in:
Bill Thiede 2025-01-26 09:32:06 -08:00
parent 25d31a6ce7
commit c27bcac549
2 changed files with 7 additions and 12 deletions

View File

@ -1,15 +1,10 @@
[workspace]
resolver = "2"
default-members = [
"server"
]
members = [
"web",
"server",
"notmuch",
"procmail2notmuch",
"shared"
]
default-members = ["server"]
members = ["web", "server", "notmuch", "procmail2notmuch", "shared"]
[profile.dev]
opt-level = 1
[profile.release]
lto = true

View File

@ -1,5 +1,5 @@
[build]
release = true
release = false
[serve]
# The address to serve on.
@ -12,7 +12,7 @@ backend = "http://localhost:9345/api/"
[[hooks]]
stage = "pre_build"
command = "printf"
command_arguments = [ "\\033c" ]
command_arguments = ["\\033c"]
#[[hooks]]
#stage = "pre_build"