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:
2
network-poc/frontend/node_modules/astro/dist/vite-plugin-overlay/index.d.ts
generated
vendored
Normal file
2
network-poc/frontend/node_modules/astro/dist/vite-plugin-overlay/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import type { Plugin } from 'vite';
|
||||
export declare function vitePluginAstroServerClient(): Plugin;
|
||||
21
network-poc/frontend/node_modules/astro/dist/vite-plugin-overlay/index.js
generated
vendored
Normal file
21
network-poc/frontend/node_modules/astro/dist/vite-plugin-overlay/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { ASTRO_VITE_ENVIRONMENT_NAMES } from "../core/constants.js";
|
||||
import { patchOverlay } from "../core/errors/overlay.js";
|
||||
function vitePluginAstroServerClient() {
|
||||
return {
|
||||
name: "astro:server-client",
|
||||
applyToEnvironment(environment) {
|
||||
return environment.name === ASTRO_VITE_ENVIRONMENT_NAMES.client;
|
||||
},
|
||||
transform: {
|
||||
filter: {
|
||||
id: /vite\/dist\/client\/client\.mjs/
|
||||
},
|
||||
handler(code) {
|
||||
return patchOverlay(code);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
export {
|
||||
vitePluginAstroServerClient
|
||||
};
|
||||
Reference in New Issue
Block a user