feat: add prefetch for pagination pages

This commit is contained in:
Stefan Imhoff
2023-06-10 19:25:36 +02:00
parent fd60e171ce
commit bb32c6494c
4 changed files with 32 additions and 19 deletions

14
pnpm-lock.yaml generated
View File

@@ -18,6 +18,9 @@ dependencies:
'@astrojs/preact':
specifier: ^2.2.0
version: 2.2.0(preact@10.15.1)
'@astrojs/prefetch':
specifier: ^0.2.3
version: 0.2.3
'@astrojs/tailwind':
specifier: ^3.1.3
version: 3.1.3(astro@2.5.5)(tailwindcss@3.3.2)
@@ -280,6 +283,12 @@ packages:
- supports-color
dev: false
/@astrojs/prefetch@0.2.3:
resolution: {integrity: sha512-r51t4fkGcePA6FHFVDD5vC/whhoKWFSaKNug/4Z2FSKZZga9yjb2qDcrul7u32nVDN+30ywZ/RQAmBMrHOmLiw==}
dependencies:
throttles: 1.0.1
dev: false
/@astrojs/prism@2.1.2:
resolution: {integrity: sha512-3antim1gb34689GHRQFJ88JEo93HuZKQBnmxDT5W/nxiNz1p/iRxnCTEhIbJhqMOTRbbo5h2ldm5qSxx+TMFQA==}
engines: {node: '>=16.12.0'}
@@ -12279,6 +12288,11 @@ packages:
real-require: 0.2.0
dev: true
/throttles@1.0.1:
resolution: {integrity: sha512-fab7Xg+zELr9KOv4fkaBoe/b3L0GMGLd0IBSCn16GoE/Qx6/OfCr1eGNyEcDU2pUA79qQfZ8kPQWlRuok4YwTw==}
engines: {node: '>=6'}
dev: false
/through2-filter@3.0.0:
resolution: {integrity: sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==}
dependencies: