27 lines
563 B
TypeScript
27 lines
563 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 stylelint from "vite-plugin-stylelint";
|
|
import { ViteAliases } from "vite-aliases";
|
|
|
|
// https://vitejs.dev/config/
|
|
/** @type {import('vite').UserConfig} */
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
scss(),
|
|
ViteAliases(),
|
|
// stylelint({
|
|
// fix: true,
|
|
// configBasedir: '.',
|
|
// parserOptions: {
|
|
// extraFileExtensions: true
|
|
// }
|
|
// }),
|
|
eslint({
|
|
fix: true,
|
|
}),
|
|
],
|
|
});
|