28 lines
501 B
TypeScript
28 lines
501 B
TypeScript
import {defineConfig} from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import scss from "rollup-plugin-scss";
|
|
import eslint from "vite-plugin-eslint";
|
|
import {ViteAliases} from "vite-aliases";
|
|
|
|
// https://vitejs.dev/config/
|
|
/** @type {import('vite').UserConfig} */
|
|
export default defineConfig({
|
|
build: {
|
|
manifest: true,
|
|
// cssCodeSplit: false,
|
|
rollupOptions:{
|
|
output:{
|
|
sourcemap:true,
|
|
}
|
|
}
|
|
},
|
|
plugins: [
|
|
vue(),
|
|
scss(),
|
|
ViteAliases(),
|
|
eslint({
|
|
fix: true,
|
|
}),
|
|
],
|
|
});
|