aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/vite.config.js
blob: bc6ae94ae343bf6bfe8b12ccec94af213fc203ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { sveltekit } from "@sveltejs/kit/vite";
import { SvelteKitPWA } from "@vite-pwa/sveltekit";
/** @type {import('vite').UserConfig} */
const config = {
  plugins: [sveltekit(), SvelteKitPWA()],
  build: {
    target: "es2020",
  },
  optimizeDeps: {
    esbuildOptions: {
      target: "es2020",
    },
  },
};

export default config;