From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 5 Oct 2022 20:45:21 +0800 Subject: refactor: Change file structure --- code/app/vite.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 code/app/vite.config.js (limited to 'code/app/vite.config.js') diff --git a/code/app/vite.config.js b/code/app/vite.config.js new file mode 100644 index 0000000..f777f75 --- /dev/null +++ b/code/app/vite.config.js @@ -0,0 +1,14 @@ +import { sveltekit } from '@sveltejs/kit/vite'; + +/** @type {import('vite').UserConfig} */ +const config = { + plugins: [sveltekit()], + build: { target: "es2020" }, + optimizeDeps: { + esbuildOptions: { + target: "es2020" + } + } +}; + +export default config; -- cgit v1.3