mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 15:44:42 -05:00
Compare commits
3 Commits
4326
...
fix-export
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5fc3eccec | ||
|
|
147770b714 | ||
|
|
236807135e |
@@ -12,13 +12,21 @@ dependencies = ["build", "check-examples", "test"]
|
||||
|
||||
[tasks.build]
|
||||
clear = true
|
||||
dependencies = ["build-all"]
|
||||
dependencies = ["build-all", "build-wasm"]
|
||||
|
||||
[tasks.build-all]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features"]
|
||||
install_crate = "cargo-all-features"
|
||||
|
||||
[tasks.build-wasm]
|
||||
clear = true
|
||||
dependencies = [
|
||||
{ name = "build-wasm", path = "leptos_reactive" },
|
||||
{ name = "build-wasm", path = "leptos_dom" },
|
||||
{ name = "build-wasm", path = "leptos_server" },
|
||||
]
|
||||
|
||||
[tasks.check-examples]
|
||||
clear = true
|
||||
dependencies = [
|
||||
|
||||
4
leptos_dom/Makefile.toml
Normal file
4
leptos_dom/Makefile.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[tasks.build-wasm]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features", "--target=wasm32-unknown-unknown"]
|
||||
install_crate = "cargo-all-features"
|
||||
@@ -443,7 +443,7 @@ impl<El: ElementDescriptor + 'static> HtmlElement<El> {
|
||||
let waker = Rc::new(RefCell::new(None::<Waker>));
|
||||
let ready = Rc::new(OnceCell::new());
|
||||
|
||||
crate::request_animation_frame({
|
||||
crate::helpers::request_animation_frame({
|
||||
let waker = waker.clone();
|
||||
let ready = ready.clone();
|
||||
|
||||
|
||||
4
leptos_reactive/Makefile.toml
Normal file
4
leptos_reactive/Makefile.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[tasks.build-wasm]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features", "--target=wasm32-unknown-unknown"]
|
||||
install_crate = "cargo-all-features"
|
||||
4
leptos_server/Makefile.toml
Normal file
4
leptos_server/Makefile.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[tasks.build-wasm]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features", "--target=wasm32-unknown-unknown"]
|
||||
install_crate = "cargo-all-features"
|
||||
Reference in New Issue
Block a user