blow/postcss.config.js

16 lines
303 B
JavaScript
Raw Permalink Normal View History

const postcssConfig = {
plugins: [
require('autoprefixer'),
require('tailwindcss')
],
};
if (process.env.NODE_ENV === 'production') {
postcssConfig.plugins.push(
require('cssnano')({
preset: 'default',
})
);
}
module.exports = postcssConfig;