2022-04-15 21:46:48 -04:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
2022-04-19 00:46:22 -04:00
|
|
|
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()],
|
2022-04-19 00:46:22 -04:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
2022-04-20 00:51:37 -04:00
|
|
|
$lib: fileURLToPath(new URL("./src/lib", import.meta.url)),
|
|
|
|
$assets: fileURLToPath(new URL("./src/assets", import.meta.url)),
|
2022-04-19 00:46:22 -04:00
|
|
|
},
|
|
|
|
},
|
2022-04-15 21:46:48 -04:00
|
|
|
});
|