Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
372 B
JavaScript
19 lines
372 B
JavaScript
const VIRTUAL_MODULE_ID = "astro:container";
|
|
function astroContainer() {
|
|
return {
|
|
name: VIRTUAL_MODULE_ID,
|
|
enforce: "pre",
|
|
resolveId: {
|
|
filter: {
|
|
id: new RegExp(`^(${VIRTUAL_MODULE_ID})$`)
|
|
},
|
|
handler() {
|
|
return this.resolve("astro/virtual-modules/container.js");
|
|
}
|
|
}
|
|
};
|
|
}
|
|
export {
|
|
astroContainer as default
|
|
};
|