opengoal-launcher/vite.config.js

15 lines
402 B
JavaScript
Raw Normal View History

2022-04-15 21:46:48 -04:00
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import { fileURLToPath, URL } from "url";
2022-04-14 00:26:38 -04:00
// https://vitejs.dev/config/
export default defineConfig({
2022-04-15 21:46:48 -04:00
plugins: [svelte()],
resolve: {
alias: {
'$lib': fileURLToPath(new URL("./src/lib", import.meta.url)),
'$assets': fileURLToPath(new URL("./src/assets", import.meta.url)),
},
},
2022-04-15 21:46:48 -04:00
});