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.
16 lines
325 B
JavaScript
16 lines
325 B
JavaScript
function vitePluginFileURL() {
|
|
return {
|
|
name: "astro:vite-plugin-file-url",
|
|
enforce: "pre",
|
|
resolveId(source, importer) {
|
|
if (source.startsWith("file://")) {
|
|
const rest = source.slice(7);
|
|
return this.resolve(rest, importer);
|
|
}
|
|
}
|
|
};
|
|
}
|
|
export {
|
|
vitePluginFileURL as default
|
|
};
|