2023-06-01 13:01:04 +02:00
|
|
|
import {defineConfig} from "vite";
|
2023-05-24 17:33:23 +02:00
|
|
|
import vue from "@vitejs/plugin-vue";
|
|
|
|
import scss from "rollup-plugin-scss";
|
|
|
|
import eslint from "vite-plugin-eslint";
|
2023-06-01 13:01:04 +02:00
|
|
|
import {ViteAliases} from "vite-aliases";
|
2023-05-24 10:57:55 +02:00
|
|
|
|
2023-04-25 13:24:22 +02:00
|
|
|
// https://vitejs.dev/config/
|
2023-05-24 10:57:55 +02:00
|
|
|
/** @type {import('vite').UserConfig} */
|
2023-04-25 13:24:22 +02:00
|
|
|
export default defineConfig({
|
2023-06-02 15:21:36 +02:00
|
|
|
build: {
|
|
|
|
manifest: true,
|
|
|
|
rollupOptions:{
|
|
|
|
output:{
|
|
|
|
sourcemap:true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-24 17:33:23 +02:00
|
|
|
plugins: [
|
|
|
|
vue(),
|
|
|
|
scss(),
|
|
|
|
ViteAliases(),
|
|
|
|
eslint({
|
|
|
|
fix: true,
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
});
|