digital-theory/sesame-vitejs/sesame/vite.config.ts
2023-07-06 13:45:01 +02:00

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,
}),
],
});