diff --git a/.gitignore b/.gitignore index fdbb452..feba68b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ # Generated assets ui/static/css/stoptime.css -ui/static/stoptime_ui.* +ui/static/pkg diff --git a/Makefile.toml b/Makefile.toml index b56db12..ac10a26 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -21,7 +21,7 @@ category = "Build" description = "Runs the Rust compiler via wasm-pack for the UI." install-crate = "wasm-pack" command = "wasm-pack" -args = ["build", "--out-name", "stoptime_ui", "--out-dir", "static", "--target", "web"] +args = ["build", "--out-name", "stoptime_ui", "--out-dir", "static/pkg", "--target", "web", "--dev", "--no-typescript"] cwd = "ui" [tasks.run] diff --git a/ui/static/index.html b/ui/static/index.html index cdec6dc..40854b8 100644 --- a/ui/static/index.html +++ b/ui/static/index.html @@ -11,7 +11,7 @@