summaryrefslogtreecommitdiff
path: root/client/vite.config.ts
blob: 0307338adcfbe5b519c2ec90d2f971de9c034aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import { fileURLToPath, URL } from "node:url";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [svelte()],
  resolve: {
    alias: {
      "@engine": fileURLToPath(new URL("../engine", import.meta.url)),
    },
  },
});