2023-07-20 23:47:32 -04:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
import { fileURLToPath, URL } from "node:url";
|
2023-07-19 23:38:24 -04:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [svelte()],
|
2023-07-20 23:47:32 -04:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
"@engine": fileURLToPath(new URL("../engine", import.meta.url)),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|