@@ -10,6 +10,7 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings";
1010import metaTags from "astro-meta-tags" ;
1111import pagefind from "astro-pagefind" ;
1212import deleteUnusedImages from "astro-delete-unused-images" ;
13+ import preload from "astro-preload" ;
1314
1415// https://astro.build/config
1516export default defineConfig ( {
@@ -19,6 +20,7 @@ export default defineConfig({
1920 } ,
2021 resolve : {
2122 alias : {
23+ "@utils" : path . resolve ( "./src/utils" ) ,
2224 "@data" : path . resolve ( "./src/data" ) ,
2325 "@components" : path . resolve ( "./src/components" ) ,
2426 "@sections" : path . resolve ( "./src/components/sections" ) ,
@@ -59,9 +61,10 @@ export default defineConfig({
5961 "/sponsor/" : "/sponsorship/sponsor/" ,
6062 "/voting/" : "/programme/voting/" ,
6163 "/wasm-summit/" : "/programme/wasm-summit/" ,
62- "/sessions/" : "/programme /sessions/" ,
64+ "/programme/ sessions/" : "/sessions/" ,
6365 } ,
6466 integrations : [
67+ preload ( ) ,
6568 mdx ( ) ,
6669 sitemap ( ) ,
6770 react ( ) ,
@@ -76,6 +79,10 @@ export default defineConfig({
7679 build : {
7780 minify : true ,
7881 } ,
82+ image : {
83+ remotePatterns : [ { protocol : "https" } ] ,
84+ domains : [ "programme.europython.eu" , "placehold.co" ] ,
85+ } ,
7986 experimental : {
8087 svg : true ,
8188 } ,
0 commit comments