diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2019-01-04 19:28:38 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-04 11:28:38 +0100 |
commit | d5bdfaf0bb91d89bd29a6507dd7c9a7a6adfd7ca (patch) | |
tree | 3d9bc0d38d6313bed2728923bce9a5ab3477e7bf /postcss.config.js | |
parent | c39c112ced73d7942d31f8d49fdde70eed18aece (diff) |
Increase files checked by ESLint (#9705)
Diffstat (limited to 'postcss.config.js')
-rw-r--r-- | postcss.config.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/postcss.config.js b/postcss.config.js index 84701e4ad..1c820c318 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,13 +1,7 @@ -module.exports = { +module.exports = ({ env }) => ({ plugins: { - autoprefixer: { - browsers: [ - 'last 2 versions', - 'IE >= 11', - 'iOS >= 9', - ], - }, + autoprefixer: {}, 'postcss-object-fit-images': {}, - cssnano: {}, + cssnano: env === 'production' ? {} : false, }, -}; +}); |