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:
@@ -40,7 +40,7 @@ Vite dev server proxies `/api`, `/gitea`, `/py` and `/radio`; the targets defaul
|
||||
cd vue && npm run build
|
||||
```
|
||||
|
||||
`npm run build` compiles the Rust crate first and needs `wasm-pack`. `npm run build:js` (plain `vite build`) is the check to use when only the JS changed and `src/wasm/` already exists.
|
||||
`npm run build` is a plain `vite build`.
|
||||
|
||||
### Regenerate GraphQL (after editing schema files)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user