升级
This commit is contained in:
1 parent
bc5d3894cb
commit
955dc9b608
8 files changed
+1634
-2052
No files matched your search
+11
-1
@@ -1,5 +1,15 @@
|
|||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
|
import { fileURLToPath } from "node:url";
|
||||||
|
|
||||||
export default defineConfig({
|
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)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
Generated
+1300
-2020
File diff suppressed because it is too large.
Load diff
+4
-5
@@ -9,9 +9,8 @@
|
|||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.9.4",
|
"@astrojs/check": "^0.9.9",
|
||||||
"astro": "^4.16.18",
|
"astro": "^6.2.1",
|
||||||
"typescript": "^5.6.3"
|
"typescript": "^6.0.3"
|
||||||
},
|
}
|
||||||
"devDependencies": {}
|
|
||||||
}
|
}
|
||||||
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user