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:
Parinya T
2023-03-23 23:38:27 +07:00
committed by GitHub
parent 9e62b637e8
commit dd4fd98972
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
"dependencies": {
"@astrojs/rss": "^2.3.0",
"@resvg/resvg-js": "^2.4.1",
"astro": "^2.1.3",
"astro": "^2.1.5",
"fuse.js": "^6.6.2",
"github-slugger": "^2.0.0",
"remark-collapse": "^0.1.2",
+9 -2
View File
@@ -1,9 +1,16 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"baseUrl": ".",
"baseUrl": "src",
"paths": {
"@*": ["./src/*"]
"@assets/*": ["assets/*"],
"@config": ["config.ts"],
"@components/*": ["components/*"],
"@content/*": ["content/*"],
"@layouts/*": ["layouts/*"],
"@pages/*": ["pages/*"],
"@styles/*": ["styles/*"],
"@utils/*": ["utils/*"]
}
}
}