From d5bdfaf0bb91d89bd29a6507dd7c9a7a6adfd7ca Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 4 Jan 2019 19:28:38 +0900 Subject: Increase files checked by ESLint (#9705) --- postcss.config.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'postcss.config.js') 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, }, -}; +}); -- cgit