diff --git a/app/src/components/cubeway-simulation.ts b/app/src/components/cubeway-simulation.ts index fe61b57..595aa3e 100644 --- a/app/src/components/cubeway-simulation.ts +++ b/app/src/components/cubeway-simulation.ts @@ -2,7 +2,7 @@ import { LitElement, css, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import litLogo from "../assets/lit.svg"; import viteLogo from "/vite.svg"; -import init, { greet, run } from "../../../cubeway/pkg/cubeway"; +import init from "../../../cubeway/pkg/cubeway"; /** * An example element. diff --git a/package.json b/package.json index a8fba5b..88c5e30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "web-cubeway", "version": "1.0.0", "scripts": { - "dev": "concurrently \"cd cubeway && cargo watch -- wasm-pack build --target web\" \"cd app && npm run dev\"" + "dev": "concurrently \"cd cubeway && cargo watch -- wasm-pack build --target web\" \"cd app && npm run dev\"", + "build": "concurrently \"cd cubeway && wasm-pack build --target web\" \"cd app && npm run build\"" }, "keywords": [], "author": "",