revert:upgraded the version of all packages to the latest version, and made an upgrade before cross-version

This commit is contained in:
elonehoo
2022-11-11 23:38:37 +08:00
parent af68d4bc67
commit 724af94c08
7 changed files with 2389 additions and 3007 deletions

View File

@@ -1,4 +1,4 @@
import type { Plugin } from 'vite';
import type { Plugin,PluginOption } from 'vite';
import Components from 'unplugin-vue-components/vite';
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
@@ -12,7 +12,7 @@ import { configCompressPlugin } from './compress';
export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean, prodMock) {
const { VITE_USE_MOCK, VITE_BUILD_COMPRESS, VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
const vitePlugins: (Plugin | Plugin[])[] = [
const vitePlugins: (Plugin | Plugin[] | PluginOption[])[] = [
// have to
vue(),
// have to