Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
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>
This commit is contained in:
18
network-poc/frontend/node_modules/astro/dist/virtual-modules/container.js
generated
vendored
Normal file
18
network-poc/frontend/node_modules/astro/dist/virtual-modules/container.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
async function loadRenderers(renderers) {
|
||||
const loadedRenderers = await Promise.all(
|
||||
renderers.map(async (renderer) => {
|
||||
const mod = await import(renderer.serverEntrypoint.toString());
|
||||
if (typeof mod.default !== "undefined") {
|
||||
return {
|
||||
...renderer,
|
||||
ssr: mod.default
|
||||
};
|
||||
}
|
||||
return void 0;
|
||||
})
|
||||
);
|
||||
return loadedRenderers.filter((r) => Boolean(r));
|
||||
}
|
||||
export {
|
||||
loadRenderers
|
||||
};
|
||||
Reference in New Issue
Block a user