Files
Tanish Manku 7dcd01041e feat(shell): web build of the editor: browser entry, file picker and downloads, autosave to browser storage (M8)
src/web.rs starts the editor on a page canvas with eframe's WebRunner (WebGL2 via glow) and
provides the browser's services; platform.rs decides when: picked files go to the engine's
in-memory store and the command runs, saves and exports leave as downloads, preferences and
recovery copies live in localStorage, Web Locks tell open tabs from crashed ones, and leaving
with unsaved work asks first. The GPU stage and sound output become build cfgs that are off
on wasm. Video export and plug-in installs are dimmed in the browser with the reason.

scripts/build-web.sh and .ps1 build web/ with the wasm-bindgen CLI pinned to Cargo.lock's
version, from packaging/web/index.html. The web profile (opt-level s, stripped, renderer and
geometry at opt-level 3) gives an 8973 KB module, 3278 KB gzipped, in 41 s.
crates/engine/tests/wasm.rs runs the engine inside WebAssembly in Node (3 tests, 0.6 s).
2026-11-09 22:36:09 -07:00

25 lines
534 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# build output
/target/
# release packages (packaging/*/package.*)
/dist/
# the web editor built by scripts/build-web.sh (ADR 0036)
/web/
# sample plug-ins built by examples/plugins/build.sh (sources are committed, binaries never)
/examples/plugins/dist/
/examples/plugins/target/
# generated screenshots and exports (regenerate with --screenshot / anicraft-cli)
/shots/
/frames/
*.anicraft.tmp
# editors and OS
.idea/
.vscode/
*.swp
.DS_Store
Thumbs.db
# parallel milestone worktrees (AGENTS.md › Milestone tracks)
/.worktrees/