Code reference detail
vite.config.ts
packages/extension/webviews/onboarding/vite.config.ts
| Idea | Status | Tags | Summary |
|---|---|---|---|
| scope | extension build steps for local development and CI | ||
| webview_build | Svelte webview UI is bundled with Vite per [development_core]. Configs: [ideas_summary_vite_config], [activity_bar_vite_config], [onboarding_vite_config] Output lands in `packages/extension/media/webviews/` for the extension host to load. The onboarding webview inlines ["../../packages/extension/templates/thanks-for-installing.template.rq"] via Vite `?raw` for the in-page language example; the template source stays excluded from the VSIX. Requirement: ["../extension/onboarding/page-thanks-for-installing.rq".installation_event]. Watch mode during development: `bash scripts/watch.sh` vite `--watch` alongside tsc and esbuild. |
Reference labels
../../packages/extension/webviews/onboarding/vite.config.ts, onboarding_vite_config