Skip to content

Commit

Permalink
fix: build error astro@2.1.4 && update astro@2.1.5 (#49)
Browse files Browse the repository at this point in the history
* fix: build error astro@2.1.4 && update astro@2.1.5

* fix: remove @scripts from tsconfig.json
  • Loading branch information
pickyzz authored Mar 23, 2023
1 parent 9e62b63 commit dd4fd98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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/*"]
}
}
}

0 comments on commit dd4fd98

Please sign in to comment.