fix SLEDGEHAMMER_JS import path in desktop
This commit is contained in:
1 parent
2371c9eed3
commit
b3ed337b6b
3 files changed
+1
-7
No files matched your search
@@ -82,9 +82,6 @@ features = ["tokio_runtime", "hot-reload"]
|
|||||||
dioxus = { workspace = true, features = ["desktop"] }
|
dioxus = { workspace = true, features = ["desktop"] }
|
||||||
exitcode = "1.1.2"
|
exitcode = "1.1.2"
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
|
||||||
|
|
||||||
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "check_events"
|
name = "check_events"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use crate::{assets::*, edits::EditQueue};
|
use crate::{assets::*, edits::EditQueue};
|
||||||
use dioxus_interpreter_js::SLEDGEHAMMER_JS;
|
use dioxus_interpreter_js::binary_protocol::SLEDGEHAMMER_JS;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use wry::{
|
use wry::{
|
||||||
http::{status::StatusCode, Request, Response},
|
http::{status::StatusCode, Request, Response},
|
||||||
|
|||||||
@@ -61,9 +61,6 @@ rocket_ws = "0.1.0"
|
|||||||
tower = "0.4.13"
|
tower = "0.4.13"
|
||||||
dioxus = { workspace = true }
|
dioxus = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["hot-reload"]
|
default = ["hot-reload"]
|
||||||
# actix = ["actix-files", "actix-web", "actix-ws"]
|
# actix = ["actix-files", "actix-web", "actix-ws"]
|
||||||
|
|||||||
Reference in new issue
Block a user