chore: update deps

This commit is contained in:
xingyu 2022-08-01 19:03:46 +08:00
parent 85287e1f7f
commit f112038921
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@
"vite-plugin-eslint": "^1.7.0", "vite-plugin-eslint": "^1.7.0",
"vite-plugin-html": "^3.2.0", "vite-plugin-html": "^3.2.0",
"vite-plugin-purge-icons": "^0.8.2", "vite-plugin-purge-icons": "^0.8.2",
"vite-plugin-style-import": "1.4.1", "vite-plugin-style-import": "^2.0.0",
"vite-plugin-svg-icons": "^2.0.1", "vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-windicss": "^1.8.7", "vite-plugin-windicss": "^1.8.7",
"vue-tsc": "^0.39.4", "vue-tsc": "^0.39.4",

View File

@ -6,7 +6,7 @@ import WindiCSS from 'vite-plugin-windicss'
import VueJsx from '@vitejs/plugin-vue-jsx' import VueJsx from '@vitejs/plugin-vue-jsx'
import EslintPlugin from 'vite-plugin-eslint' import EslintPlugin from 'vite-plugin-eslint'
import VueI18n from '@intlify/vite-plugin-vue-i18n' import VueI18n from '@intlify/vite-plugin-vue-i18n'
import styleImport, { ElementPlusResolve } from 'vite-plugin-style-import' import { createStyleImportPlugin, ElementPlusResolve } from 'vite-plugin-style-import'
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
import PurgeIcons from 'vite-plugin-purge-icons' import PurgeIcons from 'vite-plugin-purge-icons'
import DefineOptions from 'unplugin-vue-define-options/vite' import DefineOptions from 'unplugin-vue-define-options/vite'
@ -55,7 +55,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
Vue(), Vue(),
VueJsx(), VueJsx(),
WindiCSS(), WindiCSS(),
styleImport({ createStyleImportPlugin({
resolves: [ElementPlusResolve()], resolves: [ElementPlusResolve()],
libs: [{ libs: [{
libraryName: 'element-plus', libraryName: 'element-plus',