Remove the Rust/WASM crate and its build step
Nothing live used it: main.js awaited the wasm init() on every page load, but the only consumer, components/util/wasm/AutoScroll.vue, was never imported. Dropping it removes the rust:slim + wasm-pack stage from the vue image, the two Vite plugins that existed only for it, and the src/wasm/ guard in `make check-vue`, so a fresh clone builds without a Rust toolchain. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+3
-4
@@ -165,10 +165,9 @@ docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
|
||||
The override layer changes five services and disables one:
|
||||
|
||||
- **vue** — `npm run dev` instead of a one-shot build; `./vue` is bind-mounted
|
||||
for hot reload, with anonymous-volume masks on `/app/node_modules` and
|
||||
`/app/src/wasm` so the image's installed deps and compiled WASM are not hidden
|
||||
by the bind mount. You need neither `node_modules` nor a Rust toolchain on the
|
||||
host.
|
||||
for hot reload, with an anonymous-volume mask on `/app/node_modules` so the
|
||||
image's installed deps are not hidden by the bind mount. You don't need
|
||||
`node_modules` on the host.
|
||||
- **nginx** — `DEV_MODE=true`, which makes the entrypoint self-sign a
|
||||
`CN=localhost` certificate (once, kept in `certbot/conf`) and render
|
||||
`nginx_dev.conf.template`: `/` proxies to the Vite dev server, both `:80` and
|
||||
|
||||
Reference in New Issue
Block a user