♻️ 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:
24
dealplustech-astro/node_modules/@astrojs/markdown-remark/dist/import-plugin-default.js
generated
vendored
24
dealplustech-astro/node_modules/@astrojs/markdown-remark/dist/import-plugin-default.js
generated
vendored
@@ -1,24 +0,0 @@
|
||||
import path from "node:path";
|
||||
import { pathToFileURL } from "node:url";
|
||||
import { resolve as importMetaResolve } from "import-meta-resolve";
|
||||
let cwdUrlStr;
|
||||
async function importPlugin(p) {
|
||||
try {
|
||||
const importResult2 = await import(
|
||||
/* @vite-ignore */
|
||||
p
|
||||
);
|
||||
return importResult2.default;
|
||||
} catch {
|
||||
}
|
||||
cwdUrlStr ??= pathToFileURL(path.join(process.cwd(), "package.json")).toString();
|
||||
const resolved = importMetaResolve(p, cwdUrlStr);
|
||||
const importResult = await import(
|
||||
/* @vite-ignore */
|
||||
resolved
|
||||
);
|
||||
return importResult.default;
|
||||
}
|
||||
export {
|
||||
importPlugin
|
||||
};
|
||||
Reference in New Issue
Block a user