aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/kit/vite.config.js')
-rw-r--r--apps/kit/vite.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/kit/vite.config.js b/apps/kit/vite.config.js
new file mode 100644
index 0000000..f777f75
--- /dev/null
+++ b/apps/kit/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;