fix SLEDGEHAMMER_JS import path in desktop

This commit is contained in:
Evan Almloff 2024-02-01 10:55:10 -06:00
parent 2371c9eed3
commit b3ed337b6b
3 changed files with 1 additions and 7 deletions

View file

@ -82,9 +82,6 @@ features = ["tokio_runtime", "hot-reload"]
dioxus = { workspace = true, features = ["desktop"] }
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.
[[test]]
name = "check_events"

View file

@ -1,5 +1,5 @@
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 wry::{
http::{status::StatusCode, Request, Response},

View file

@ -61,9 +61,6 @@ rocket_ws = "0.1.0"
tower = "0.4.13"
dioxus = { workspace = true }
[build-dependencies]
# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
[features]
default = ["hot-reload"]
# actix = ["actix-files", "actix-web", "actix-ws"]