cleaning up SCSS and JS

This commit is contained in:
Parker TenBroeck 2026-01-07 12:37:58 -05:00
parent 7629bdab6d
commit 806545aba6
10 changed files with 242 additions and 194 deletions

View file

@ -20,7 +20,6 @@ await Deno.mkdir(DIST, { recursive: true });
console.log("compiling scss...");
const result = sass.compile(String(new URL("style/style.scss", ROOT).pathname), {
style: "compressed",
});
@ -30,7 +29,6 @@ console.log("Compiling wasm lib...");
await run(["wasm-pack", "build", "--target", "web", "--release", "--out-dir", "wasm"], "");
await Deno.copyFile(new URL("automata_web_bg.wasm", WASM), new URL("automata_web_bg.wasm", DIST));
console.log("Compiling bundle...");
const bundle = new Deno.Command(Deno.execPath(), {
args: ["bundle", "--platform=browser", "--outdir", "dist", "root/index.html", "--minify",],