mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 11:04:40 -05:00
fix: router example build process (#3779)
* fix: router example build process * fix: a working router example
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
[unstable]
|
[target.wasm32-unknown-unknown]
|
||||||
build-std = ["std", "panic_abort", "core", "alloc"]
|
rustflags = ["-C", "panic=abort"]
|
||||||
build-std-features = ["panic_immediate_abort"]
|
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ name = "router"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
panic = "abort"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 'z'
|
opt-level = 'z'
|
||||||
lto = true
|
lto = true
|
||||||
@@ -22,4 +25,4 @@ tracing-subscriber-wasm = "0.1.0"
|
|||||||
tracing = "0.1.40"
|
tracing = "0.1.40"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wasm-bindgen-test = "0.3.42"
|
wasm-bindgen-test = "0.3.50"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
extend = [
|
extend = [
|
||||||
{ path = "../cargo-make/main.toml" },
|
{ path = "../cargo-make/main.toml" },
|
||||||
{ path = "../cargo-make/trunk_server.toml" },
|
{ path = "../cargo-make/trunk_server.toml" },
|
||||||
{ path = "../cargo-make/playwright-test.toml" },
|
{ path = "../cargo-make/playwright-test.toml" },
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user