File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// @ts -check
22import { defineConfig } from "astro/config" ;
33import starlight from "@astrojs/starlight" ;
4+ import path from 'node:path' ;
45import mtasaStarlightThemePlugin from "@multitheftauto/starlight-theme-mtasa" ;
56import { SITE_TITLE , SITE_URL } from "./src/content.constants" ;
67import starlightScrollToTop from 'starlight-scroll-to-top'
@@ -26,6 +27,11 @@ export default defineConfig({
2627 ssr : {
2728 noExternal : [ 'zod' ] ,
2829 } ,
30+ resolve : {
31+ alias : {
32+ '@src' : path . resolve ( './src' ) ,
33+ }
34+ }
2935 } ,
3036 integrations : [
3137 starlight ( {
Original file line number Diff line number Diff line change 33 "include" : [" .astro/types.d.ts" , " **/*" ],
44 "exclude" : [" dist" ],
55 "compilerOptions" : {
6- "baseUrl" : " src" ,
76 "strictNullChecks" : true ,
87 "paths" : {
9- "@src/*" : [" *" ],
8+ "@src/*" : [" ./src/ *" ],
109 }
1110 }
1211}
You can’t perform that action at this time.
0 commit comments