20 lines
426 B
TypeScript
20 lines
426 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,
|
|
}),eslint()],
|
|
|
|
})
|