diff --git a/package.json b/package.json index 3d34e615d..db026a367 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsconfig.json b/tsconfig.json index 76732982a..11ed177ab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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/*"] } } }