更新依赖

This commit is contained in:
hooray 2022-02-01 15:29:09 +08:00
parent 151e510e2c
commit 393823bad9
3 changed files with 256 additions and 255 deletions

View File

@ -23,7 +23,7 @@
"@vueuse/integrations": "^7.5.5",
"axios": "^0.25.0",
"dayjs": "^1.10.7",
"element-plus": "^1.3.0-beta.9",
"element-plus": "^1.3.0-beta.10",
"hotkeys-js": "^3.8.7",
"js-cookie": "^3.0.1",
"mavon-editor": "^3.0.0-beta",
@ -32,7 +32,7 @@
"naming-style": "^1.0.1",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.0",
"pinia": "^2.0.10",
"pinia": "^2.0.11",
"qs": "^6.10.3",
"tinymce": "^5.10.2",
"vue": "^3.2.29",
@ -42,7 +42,7 @@
"@vitejs/plugin-vue": "^2.1.0",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vue/compiler-sfc": "^3.2.29",
"eslint": "^8.7.0",
"eslint": "^8.8.0",
"eslint-plugin-vue": "^8.4.0",
"http-server": "^14.1.0",
"husky": "^7.0.4",
@ -50,7 +50,7 @@
"plop": "^3.0.5",
"postcss-html": "^1.3.0",
"postcss-scss": "^4.0.3",
"sass": "^1.49.0",
"sass": "^1.49.4",
"stylelint": "^14.3.0",
"stylelint-config-html": "^1.0.0",
"stylelint-config-recommended": "^6.0.0",
@ -63,12 +63,12 @@
"unplugin-vue-components": "^0.17.15",
"vite": "^2.7.13",
"vite-plugin-banner": "^0.2.0",
"vite-plugin-compression": "^0.4.0",
"vite-plugin-html": "^3.0.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.0.3",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-restart": "^0.1.1",
"vite-plugin-spritesmith": "^0.1.1",
"vite-plugin-svg-icons": "^1.1.0",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue-eslint-parser": "^8.2.0"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
import svgIcon from 'vite-plugin-svg-icons'
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
import path from 'path'
export default function createSvgIcon(isBuild) {
return svgIcon({
return createSvgIconsPlugin({
iconDirs: [path.resolve(process.cwd(), 'src/assets/icons/')],
symbolId: 'icon-[dir]-[name]',
svgoOptions: isBuild