From 83d23a5a4bb200b78d0538a6a0f126fed96467f5 Mon Sep 17 00:00:00 2001 From: Dan6erbond Date: Tue, 25 May 2021 18:27:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Create=20separate=20Vite=20confi?= =?UTF-8?q?g=20JS=20according=20to=20https://github.com/sveltejs/kit/issue?= =?UTF-8?q?s/928?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/vite.config.cjs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/vite.config.cjs diff --git a/app/vite.config.cjs b/app/vite.config.cjs new file mode 100644 index 0000000..33c22fb --- /dev/null +++ b/app/vite.config.cjs @@ -0,0 +1,8 @@ +const pkg = require("./package.json"); + +/** @type {import('vite').UserConfig} */ +export default { + ssr: { + noExternal: Object.keys(pkg.dependencies || {}), + }, +};