From 980ab88c2e9d7a0975fda12c8524cd7013759505 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 22 Sep 2022 23:08:51 +0800 Subject: [PATCH] perf: move @vant/icons to dev dependencies (#11075) --- packages/vant/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vant/package.json b/packages/vant/package.json index e99f7f473..0eb8d629e 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -47,7 +47,6 @@ "components" ], "dependencies": { - "@vant/icons": "^1.8.0", "@vant/popperjs": "^1.3.0", "@vant/use": "^1.4.2" }, @@ -60,6 +59,7 @@ "@vant/area-data": "workspace:*", "@vant/cli": "workspace:*", "@vant/eslint-config": "workspace:*", + "@vant/icons": "workspace:*", "@vue/runtime-core": "^3.2.38", "@vue/test-utils": "^2.0.2", "typescript": "^4.8.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6b2b2f40..b4c75c0cc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: '@vant/area-data': workspace:* '@vant/cli': workspace:* '@vant/eslint-config': workspace:* - '@vant/icons': ^1.8.0 + '@vant/icons': workspace:* '@vant/popperjs': ^1.3.0 '@vant/use': ^1.4.2 '@vue/runtime-core': ^3.2.38 @@ -59,7 +59,6 @@ importers: vue: ^3.2.38 vue-router: ^4.1.5 dependencies: - '@vant/icons': link:../vant-icons '@vant/popperjs': link:../vant-popperjs '@vant/use': link:../vant-use devDependencies: @@ -68,6 +67,7 @@ importers: '@vant/area-data': link:../vant-area-data '@vant/cli': link:../vant-cli '@vant/eslint-config': link:../vant-eslint-config + '@vant/icons': link:../vant-icons '@vue/runtime-core': 3.2.38 '@vue/test-utils': 2.0.2_vue@3.2.38 typescript: 4.8.2