PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
27 lines
659 B
JavaScript
27 lines
659 B
JavaScript
const manifestVirtualModuleId = "astro:ssr-manifest";
|
|
const resolvedManifestVirtualModuleId = "\0" + manifestVirtualModuleId;
|
|
function vitePluginSSRManifest() {
|
|
return {
|
|
name: "@astrojs/vite-plugin-astro-ssr-manifest",
|
|
enforce: "post",
|
|
resolveId(id) {
|
|
if (id === manifestVirtualModuleId) {
|
|
return resolvedManifestVirtualModuleId;
|
|
}
|
|
},
|
|
load(id) {
|
|
if (id === resolvedManifestVirtualModuleId) {
|
|
return {
|
|
code: `export let manifest = {};
|
|
export function _privateSetManifestDontUseThis(ssrManifest) {
|
|
manifest = ssrManifest;
|
|
}`
|
|
};
|
|
}
|
|
}
|
|
};
|
|
}
|
|
export {
|
|
vitePluginSSRManifest
|
|
};
|