diff --git a/astro.config.ts b/astro.config.ts index a6d866c..6081788 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -24,6 +24,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); export default defineConfig({ site: "https://xhyrom.dev/", + prefetch: true, integrations: [ tailwind(), sitemap(), diff --git a/package.json b/package.json index a747465..35475b8 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ }, "dependencies": { "@astrojs/preact": "^3.3.0", - "@astrojs/prefetch": "^0.4.1", "@astrojs/sitemap": "^3.1.4", "@astrojs/tailwind": "^5.1.0", "@playform/compress": "^0.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4608b63..e9733dd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@astrojs/preact': specifier: ^3.3.0 version: 3.3.0(@babel/core@7.24.5)(preact@10.21.0)(vite@5.2.11(@types/node@20.12.11)(lightningcss@1.24.1)(terser@5.31.0)) - '@astrojs/prefetch': - specifier: ^0.4.1 - version: 0.4.1 '@astrojs/sitemap': specifier: ^3.1.4 version: 3.1.4 @@ -122,10 +119,6 @@ packages: peerDependencies: preact: ^10.6.5 - '@astrojs/prefetch@0.4.1': - resolution: {integrity: sha512-bpC875BqeIuWVgqhi4X814ftzzbKocaLkiZczaj8k5J2SRpueIGkww3XmD+yY/Ekkm9j30aS3neVO6wSm4IJNA==} - deprecated: '@astrojs/prefetch is deprecated in favor of the builtin prefetch option. Please see the migration guide for more information: https://docs.astro.build/en/guides/prefetch/#migrating-from-astrojsprefetch' - '@astrojs/prism@3.1.0': resolution: {integrity: sha512-Z9IYjuXSArkAUx3N6xj6+Bnvx8OdUSHA8YoOgyepp3+zJmtVYJIl/I18GozdJVW1p5u/CNpl3Km7/gwTJK85cw==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} @@ -2529,10 +2522,6 @@ packages: thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - throttles@1.0.1: - resolution: {integrity: sha512-fab7Xg+zELr9KOv4fkaBoe/b3L0GMGLd0IBSCn16GoE/Qx6/OfCr1eGNyEcDU2pUA79qQfZ8kPQWlRuok4YwTw==} - engines: {node: '>=6'} - tippy.js@6.3.7: resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==} @@ -2828,10 +2817,6 @@ snapshots: - supports-color - vite - '@astrojs/prefetch@0.4.1': - dependencies: - throttles: 1.0.1 - '@astrojs/prism@3.1.0': dependencies: prismjs: 1.29.0 @@ -5507,8 +5492,6 @@ snapshots: dependencies: any-promise: 1.3.0 - throttles@1.0.1: {} - tippy.js@6.3.7: dependencies: '@popperjs/core': 2.11.8