Skip to content

Commit

Permalink
perf(docs): add link prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Dec 28, 2023
1 parent b623ae8 commit 3736bec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export default defineConfig({
],
srcDir: "./www",
publicDir: "./www/public",
prefetch: {
defaultStrategy: "viewport",
prefetchAll: true,
},
vite: {
define: {
"process.env.TS": JSON.stringify(new Date().toLocaleString()),
Expand Down

0 comments on commit 3736bec

Please sign in to comment.