From a0582f145a395262b669cc76a0e21f44f62f6d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=A5=A0?= <406803045@qq.com> Date: Fri, 7 Feb 2020 16:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3build=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .postcssrc.js | 18 +++++++++--------- package.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.postcssrc.js b/.postcssrc.js index 200edf7..4441da0 100644 --- a/.postcssrc.js +++ b/.postcssrc.js @@ -1,12 +1,12 @@ // https://github.com/michael-ciniawsky/postcss-load-config module.exports = { - plugins: { - autoprefixer: { - browsers: ['Android >= 4.0', 'iOS >= 7'] - }, - 'postcss-pxtorem': { - rootValue: 37.5, - propList: ['*'] + plugins: { + autoprefixer: { + overrideBrowserslist: ['Android 4.1', 'iOS 7.1', 'Chrome > 31', 'ff > 31', 'ie >= 8'] + }, + 'postcss-pxtorem': { + rootValue: 37.5, + propList: ['*'] + } } - } -} +} \ No newline at end of file diff --git a/package.json b/package.json index f6dbe42..0418b8d 100644 --- a/package.json +++ b/package.json @@ -60,4 +60,4 @@ "last 2 versions", "not ie <= 8" ] -} \ No newline at end of file +}