build(ui): switch to vite
[e-mobility-charging-stations-simulator.git] / ui / web / vite.config.ts
diff --git a/ui/web/vite.config.ts b/ui/web/vite.config.ts
new file mode 100644 (file)
index 0000000..a4b3668
--- /dev/null
@@ -0,0 +1,14 @@
+import { fileURLToPath, URL } from 'node:url';
+
+import { defineConfig } from 'vite';
+import vue from '@vitejs/plugin-vue';
+import vueJsx from '@vitejs/plugin-vue-jsx';
+
+export default defineConfig({
+  plugins: [vue(), vueJsx()],
+  resolve: {
+    alias: {
+      '@': fileURLToPath(new URL('./src', import.meta.url)),
+    },
+  },
+});