Skip to content

Commit d9f45b8

Browse files
committed
feat: add default prefetch strategy to viewport in Astro config
1 parent 695f95c commit d9f45b8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

astro.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default defineConfig({
1717
output: "static",
1818
prefetch: {
1919
prefetchAll: true,
20+
defaultStrategy: 'viewport'
2021
},
2122
site: constants.site({
2223
localhost: process.env.NODE_ENV === "development",

0 commit comments

Comments
 (0)