From 5eebd49037a06ca06bdc7450fb250b0ccd374ba7 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Fri, 24 Jul 2020 21:00:28 -0700 Subject: [PATCH] docs: prefetch links --- docs/src/routes/_layout.svelte | 3 +++ docs/webpack.config.js | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/src/routes/_layout.svelte b/docs/src/routes/_layout.svelte index 7d7b5c3e..c0a5835b 100644 --- a/docs/src/routes/_layout.svelte +++ b/docs/src/routes/_layout.svelte @@ -64,6 +64,7 @@ diff --git a/docs/webpack.config.js b/docs/webpack.config.js index 179e613e..bcf50e9e 100644 --- a/docs/webpack.config.js +++ b/docs/webpack.config.js @@ -21,7 +21,12 @@ module.exports = { test: /\.(svelte|html)$/, use: { loader: "svelte-loader", - options: { dev, hydratable: true, hotReload: false }, + options: { + dev, + immutable: true, + hydratable: true, + hotReload: false, + }, }, }, ],