From c7306130520d60f5d8a9ca1eb17d31b877fe9106 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Mon, 8 Feb 2021 00:44:19 +0800 Subject: [PATCH] =?UTF-8?q?postcss-pxtorem=20=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postcss.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 postcss.config.js diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..fdf0fe8 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,14 @@ +module.exports = { + plugins: { + 'autoprefixer': { + overrideBrowserslist: [ + 'Android >= 4.0', + 'iOS >= 8' + ] + }, + 'postcss-pxtorem': { + rootValue: 16, + propList: ['*'] + } + } +};