♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
20
dealplustech-astro/node_modules/astro/dist/vite-plugin-astro/utils.js
generated
vendored
20
dealplustech-astro/node_modules/astro/dist/vite-plugin-astro/utils.js
generated
vendored
@@ -1,20 +0,0 @@
|
||||
import fs from "node:fs/promises";
|
||||
const frontmatterRE = /^---(.*?)^---/ms;
|
||||
async function loadId(pluginContainer, id) {
|
||||
const result = await pluginContainer.load(id, { ssr: true });
|
||||
if (result) {
|
||||
if (typeof result === "string") {
|
||||
return result;
|
||||
} else {
|
||||
return result.code;
|
||||
}
|
||||
}
|
||||
try {
|
||||
return await fs.readFile(id, "utf-8");
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
export {
|
||||
frontmatterRE,
|
||||
loadId
|
||||
};
|
||||
Reference in New Issue
Block a user