mirror of
https://github.com/owntracks/frontend.git
synced 2024-11-15 09:18:17 -07:00
998a97131b
Closes #118.
20 lines
472 B
JavaScript
20 lines
472 B
JavaScript
import { resolve, dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue2";
|
|
import version from "vite-plugin-package-version";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: "",
|
|
plugins: [vue(), version()],
|
|
resolve: {
|
|
alias: {
|
|
"@": resolve(dirname(fileURLToPath(import.meta.url)), "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
},
|
|
});
|