Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
import type { Plugin } from 'vite';
export declare function vitePluginAstroServerClient(): Plugin;
+21
View 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
};