Skip to content

Commit 58d394d

Browse files
committed
Merge branch 'ep2025' into ep2025-yt
2 parents 074798b + bf8c35e commit 58d394d

25 files changed

+3851
-630
lines changed

astro.config.mjs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import rehypeSlug from "rehype-slug";
77
import rehypeAutolinkHeadings from "rehype-autolink-headings";
88
import metaTags from "astro-meta-tags";
99
import deleteUnusedImages from "astro-delete-unused-images";
10+
import serviceWorker from "astrojs-service-worker";
1011
import { execSync } from "node:child_process";
1112
import svelte from "@astrojs/svelte";
1213
import compress from "astro-compress";
@@ -26,7 +27,7 @@ if (!gitVersion) {
2627
}
2728
}
2829

29-
const fastBuild= true;
30+
const fastBuild = false;
3031

3132
function dontDie() {
3233
return {
@@ -116,13 +117,15 @@ export default defineConfig({
116117
integrations: [
117118
mdx(),
118119
svelte(),
120+
serviceWorker({
121+
workbox: { inlineWorkboxRuntime: true },
122+
}),
119123
...(fastBuild? [] : [
120124
sitemap(),
121125
metaTags(),
122126
deleteUnusedImages(),
123127
compress({
124128
HTML: false,
125-
JavaScript: false,
126129
CSS: false,
127130
SVG: false,
128131
}),
@@ -137,4 +140,8 @@ export default defineConfig({
137140
remotePatterns: [{ protocol: "https" }],
138141
domains: ["programme.europython.eu", "placehold.co"],
139142
},
143+
prefetch: {
144+
prefetchAll: true,
145+
defaultStrategy: "load",
146+
},
140147
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"astro-meta-tags": "^0.3.2",
2828
"astro-pagefind": "^1.8.3",
2929
"astro-preload": "^1.1.2",
30+
"astrojs-service-worker": "^2.0.0",
3031
"clsx": "^2.1.1",
3132
"date-fns": "^4.1.0",
3233
"date-fns-tz": "^3.2.0",

pnpm-lock.yaml

Lines changed: 3528 additions & 539 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/android-chrome-144x144.png

12.9 KB
Loading

public/android-chrome-192x192.png

18 KB
Loading

public/android-chrome-256x256.png

25 KB
Loading

public/android-chrome-36x36.png

2.78 KB
Loading

public/android-chrome-384x384.png

40.2 KB
Loading

public/android-chrome-48x48.png

3.6 KB
Loading

public/android-chrome-512x512.png

56.2 KB
Loading

0 commit comments

Comments
 (0)