mercury/frontend/vite.config.ts

21 lines
513 B
TypeScript
Raw Permalink Normal View History

2023-09-03 00:23:48 +02:00
import { defineConfig } from "vite";
2023-11-23 21:33:30 +01:00
import solid from "vite-plugin-solid";
import suid from "@suid/vite-plugin";
2023-09-15 16:33:25 +02:00
import { resolve } from "path";
2023-09-03 00:23:48 +02:00
export default defineConfig({
2023-11-23 21:33:30 +01:00
plugins: [suid(), solid()],
2023-09-03 04:11:56 +02:00
build: {
manifest: "manifest.json",
},
2023-09-15 16:33:25 +02:00
resolve: {
alias: {
$: resolve(__dirname, "./src/"),
$lib: resolve(__dirname, "./src/lib/"),
$components: resolve(__dirname, "./src/components/"),
$pages: resolve(__dirname, "./src/pages/"),
$public: resolve(__dirname, "./public/"),
},
},
2023-09-03 00:23:48 +02:00
});