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
603 B
TypeScript
19 lines
603 B
TypeScript
import type { Plugin } from 'vite';
|
|
import type { RoutesList } from '../types/astro.js';
|
|
interface AstroVitePluginOptions {
|
|
routesList: RoutesList;
|
|
command: 'dev' | 'build';
|
|
}
|
|
/**
|
|
* This plugin tracks the CSS that should be applied by route.
|
|
*
|
|
* The virtual module should be used only during development.
|
|
* Per-route virtual modules are created to avoid invalidation loops.
|
|
*
|
|
* The second plugin imports all of the individual CSS modules in a map.
|
|
*
|
|
* @param routesList
|
|
*/
|
|
export declare function astroDevCssPlugin({ routesList, command }: AstroVitePluginOptions): Plugin[];
|
|
export {};
|