hassio-nextcloud-backup/nextcloud_backup/frontend/vite.config.ts

23 lines
580 B
TypeScript
Raw Normal View History

import { fileURLToPath, URL } from "node:url";
2022-10-11 14:10:25 +02:00
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
2023-01-13 16:18:27 +01:00
import dns from "dns";
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
import vuetify from "vite-plugin-vuetify";
2022-10-11 14:10:25 +02:00
2023-01-13 16:18:27 +01:00
// //Print localhost instead of 127.0.0.1
// dns.setDefaultResultOrder("verbatim");
2022-10-11 14:10:25 +02:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), vuetify({ autoImport: true })],
2022-10-11 14:10:25 +02:00
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
base: "",
});