From 39cb0b461e0e86d4ad90b8c14415bd078513e709 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Tue, 6 Apr 2021 20:10:20 +0800 Subject: [PATCH] build: extract .browserslistrc --- .browserslistrc | 2 ++ package.json | 6 +----- packages/vant-lazyload/package.json | 4 ---- 3 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 .browserslistrc diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 000000000..6047a6eca --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,2 @@ +Chrome >= 51 +iOS >= 10 diff --git a/package.json b/package.json index e72a8fa28..14f063f33 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,5 @@ "tags": "vetur/tags.json", "attributes": "vetur/attributes.json" }, - "web-types": "vetur/web-types.json", - "browserslist": [ - "Chrome >= 51", - "iOS >= 10" - ] + "web-types": "vetur/web-types.json" } diff --git a/packages/vant-lazyload/package.json b/packages/vant-lazyload/package.json index f8f1d8652..e3495cd5e 100644 --- a/packages/vant-lazyload/package.json +++ b/packages/vant-lazyload/package.json @@ -27,10 +27,6 @@ "release-it": "^14.2.2", "vue": "^3.0.0" }, - "browserslist": [ - "Android >= 4.0", - "iOS >= 8" - ], "release-it": { "git": { "tag": false,