about summary refs log tree commit diff
path: root/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'postcss.config.js')
-rw-r--r--postcss.config.js14
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,
   },
-};
+});