Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 014648807f |
1 changed files with 7 additions and 2 deletions
|
|
@ -11,8 +11,13 @@ VITE_API_BASE_URL=/pcb-project-api.php
|
|||
VITE_PROJECT_SOURCE=remote
|
||||
VITE_DOC_SOURCE=api
|
||||
|
||||
# No library backend for v1 — the editor boots with empty sym/fp-lib-tables.
|
||||
VITE_LIBS_SOURCE=off
|
||||
# No library backend for v1. `static` (not `off`): `off` leaves `libsSource` null so boot.ts
|
||||
# never calls installLibsProvider → `window.kicadLibs` is never installed → any C++ path that
|
||||
# resolves a symbol/footprint through the libs bridge on schematic open (park site K1,
|
||||
# sch_io_pcbjam_lib) calls a method on undefined → throws inside a suspending import →
|
||||
# SuspendError → abort. `static` installs the bridge backed by 2 built-in example symbols; it
|
||||
# answers "not found" gracefully for everything else. No backend, no manifest, self-contained.
|
||||
VITE_LIBS_SOURCE=static
|
||||
|
||||
# Flat WASM layout, served static by Apache under the mount (no per-tool subdir,
|
||||
# VITE_WASM_MANIFEST intentionally unset). Files: kicad_editor.{js,wasm}, wx.js,
|
||||
|
|
|
|||
Loading…
Reference in a new issue