mirror of
https://github.com/tchartron/blow
synced 2024-11-23 21:03:16 +00:00
16 lines
303 B
JavaScript
16 lines
303 B
JavaScript
|
const postcssConfig = {
|
||
|
plugins: [
|
||
|
require('autoprefixer'),
|
||
|
require('tailwindcss')
|
||
|
],
|
||
|
};
|
||
|
|
||
|
if (process.env.NODE_ENV === 'production') {
|
||
|
postcssConfig.plugins.push(
|
||
|
require('cssnano')({
|
||
|
preset: 'default',
|
||
|
})
|
||
|
);
|
||
|
}
|
||
|
module.exports = postcssConfig;
|