digital-theory/sesame-vitejs/sesame/vite.config.ts

27 lines
563 B
TypeScript
Raw Normal View History

2023-05-24 17:33:23 +02:00
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import scss from "rollup-plugin-scss";
import eslint from "vite-plugin-eslint";
import stylelint from "vite-plugin-stylelint";
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-05-24 17:33:23 +02:00
plugins: [
vue(),
scss(),
ViteAliases(),
// stylelint({
// fix: true,
// configBasedir: '.',
// parserOptions: {
// extraFileExtensions: true
// }
// }),
eslint({
fix: true,
}),
],
});