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.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/postcss.config.js b/postcss.config.js
index e7749a219..5d58d74e3 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,6 +1,6 @@
 module.exports = ({ env }) => ({
-  plugins: {
-    autoprefixer: {},
-    cssnano: env === 'production' ? {} : false,
-  },
+  plugins: [
+    'autoprefixer',
+    env === 'production' ? 'cssnano' : '',
+  ],
 });