mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
fix: build error astro@2.1.4 && update astro@2.1.5 (#49)
* fix: build error astro@2.1.4 && update astro@2.1.5 * fix: remove @scripts from tsconfig.json
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/rss": "^2.3.0",
|
"@astrojs/rss": "^2.3.0",
|
||||||
"@resvg/resvg-js": "^2.4.1",
|
"@resvg/resvg-js": "^2.4.1",
|
||||||
"astro": "^2.1.3",
|
"astro": "^2.1.5",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"github-slugger": "^2.0.0",
|
"github-slugger": "^2.0.0",
|
||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
|
|||||||
+9
-2
@@ -1,9 +1,16 @@
|
|||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/strict",
|
"extends": "astro/tsconfigs/strict",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": "src",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@*": ["./src/*"]
|
"@assets/*": ["assets/*"],
|
||||||
|
"@config": ["config.ts"],
|
||||||
|
"@components/*": ["components/*"],
|
||||||
|
"@content/*": ["content/*"],
|
||||||
|
"@layouts/*": ["layouts/*"],
|
||||||
|
"@pages/*": ["pages/*"],
|
||||||
|
"@styles/*": ["styles/*"],
|
||||||
|
"@utils/*": ["utils/*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user