From 3fb4cea77196c46eb935ae4f1d9e047df4f06192 Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Tue, 16 Apr 2024 09:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=A3=80=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/vite/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/vite/index.ts b/build/vite/index.ts index 020671079..c67f8a856 100644 --- a/build/vite/index.ts +++ b/build/vite/index.ts @@ -2,7 +2,7 @@ import { resolve } from 'path' import Vue from '@vitejs/plugin-vue' import VueJsx from '@vitejs/plugin-vue-jsx' import progress from 'vite-plugin-progress' -import EslintPlugin from 'vite-plugin-eslint' +// import EslintPlugin from 'vite-plugin-eslint' import PurgeIcons from 'vite-plugin-purge-icons' import { ViteEjsPlugin } from 'vite-plugin-ejs' // @ts-ignore @@ -73,10 +73,10 @@ export function createVitePlugins() { resolvers: [ElementPlusResolver()], exclude: [/[\\/]node_modules[\\/]/] }), - EslintPlugin({ - cache: false, - include: ['src/**/*.vue', 'src/**/*.ts', 'src/**/*.tsx'] // 检查的文件 - }), + // EslintPlugin({ + // cache: false, + // include: ['src/**/*.vue', 'src/**/*.ts', 'src/**/*.tsx'] // 检查的文件 + // }), VueI18nPlugin({ runtimeOnly: true, compositionOnly: true,