From 80fd5f6daaec04769479122805d0ab13937b9f50 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 17 Sep 2023 19:38:21 +0800 Subject: [PATCH] chore: bump @vant/icons to v3 (#12293) * chore: bump @vant/icons to v3 * chore: update lock * chore: fix icon path --- package.json | 2 +- src/icon/local.less | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index fa6e3b7a2..93a41a38d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "7.x", - "@vant/icons": "^1.7.1", + "@vant/icons": "^3.0.0", "@vant/popperjs": "^1.1.0", "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", "vue-lazyload": "1.2.3" diff --git a/src/icon/local.less b/src/icon/local.less index 8232ecf08..df1844f84 100644 --- a/src/icon/local.less +++ b/src/icon/local.less @@ -1 +1 @@ -@import '~@vant/icons/src/encode.less'; +@import '~@vant/icons/src/encode-woff2.less'; diff --git a/yarn.lock b/yarn.lock index a84f98c3d..77ec72117 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1767,10 +1767,10 @@ eslint-plugin-import "^2.20.2" eslint-plugin-vue "^6.2.2" -"@vant/icons@^1.7.1": - version "1.7.1" - resolved "https://registry.npmjs.org/@vant/icons/-/icons-1.7.1.tgz#49ae420302b5581e54e6894891e5a05bc76e9f87" - integrity sha512-66LPEq89w4kl258nALZcRNd14eUJC8VajvTJwvZKOaZawz6CUeVZ6ybhedTUhQhRjeA8SyWD7dFt4ALf33Sabw== +"@vant/icons@^3.0.0": + version "3.0.0" + resolved "https://registry.npmmirror.com/@vant/icons/-/icons-3.0.0.tgz#685bf941ccb7d9ddfa07dd4457188168be5311c4" + integrity sha512-g0sNQGwq3xajpri698ql/MjeMZ0Bwptjf7WO+s5fZEPq4smesmwC8Jda1OetidBjI0cQ5c7cYqoNGlkQA81TMw== "@vant/markdown-loader@^2.5.0": version "2.5.0"