File tree Expand file tree Collapse file tree 7 files changed +75
-60
lines changed Expand file tree Collapse file tree 7 files changed +75
-60
lines changed Original file line number Diff line number Diff line change 1- import path , { dirname } from "path" ;
2- import { fileURLToPath } from "url" ;
1+ import path from "path" ;
32import { defineConfig } from "astro/config" ;
43import mdx from "@astrojs/mdx" ;
5- import { h } from "hastscript" ;
64import sitemap from "@astrojs/sitemap" ;
75import react from "@astrojs/react" ;
86import tailwind from "@astrojs/tailwind" ;
@@ -13,9 +11,6 @@ import metaTags from "astro-meta-tags";
1311import pagefind from "astro-pagefind" ;
1412import deleteUnusedImages from "astro-delete-unused-images" ;
1513
16- const __filename = fileURLToPath ( import . meta. url ) ;
17- const __dirname = dirname ( __filename ) ; // @type -check enabled!
18-
1914// https://astro.build/config
2015export default defineConfig ( {
2116 vite : {
@@ -24,6 +19,7 @@ export default defineConfig({
2419 } ,
2520 resolve : {
2621 alias : {
22+ "@data" : path . resolve ( "./src/data" ) ,
2723 "@components" : path . resolve ( "./src/components" ) ,
2824 "@sections" : path . resolve ( "./src/components/sections" ) ,
2925 "@layouts" : path . resolve ( "./src/layouts" ) ,
File renamed without changes.
Load Diff This file was deleted.
Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import Prague from "@sections/prague.astro";
1616 <Updates />
1717
1818 <KeynotersComponent />
19-
2019 <Prague />
2120
2221 <Sponsors />
Original file line number Diff line number Diff line change 55 "jsx" : " react-jsx" ,
66 "jsxImportSource" : " react" ,
77 "paths" : {
8+ "@data/*" : [" src/data/*" ],
89 "@components/*" : [" src/components/*" ],
910 "@sections/*" : [" src/components/sections/*" ],
1011 "@ui/*" : [" src/components/ui/*" ],
You can’t perform that action at this time.
0 commit comments