Skip to content

Commit e20fc8c

Browse files
committed
Revert "fix css nano preset"
This reverts commit 94aab5a.
1 parent 94aab5a commit e20fc8c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

postcss.config.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
2-
plugins: {
3-
'autoprefixer': {},
4-
'postcss-import-ext-glob': {},
5-
'postcss-import': {},
6-
'tailwindcss/nesting': 'postcss-nested',
7-
'tailwindcss': {},
8-
'cssnano': { preset: 'default' }
9-
}
10-
}
2+
plugins: {
3+
'autoprefixer': {},
4+
'postcss-import-ext-glob': {},
5+
'postcss-import': {},
6+
'tailwindcss/nesting': 'postcss-nested',
7+
'tailwindcss': {},
8+
'cssnano': process.env.NODE_ENV == 'production' ? {} : false
9+
}
10+
}

0 commit comments

Comments
 (0)