升级
This commit is contained in:
+11
-1
@@ -1,5 +1,15 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://example.com"
|
||||
site: "https://example.com",
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
"astro/entrypoints/prerender": fileURLToPath(
|
||||
new URL("./node_modules/astro/dist/entrypoints/prerender.js", import.meta.url)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user