const cssnano = require('cssnano')({
preset: 'default'
})
module.exports = {
from: 'src/css/index.css',
to: 'dist/css/index.css',
plugins: [
require('tailwindcss'),
require('autoprefixer'),
...(process.env.NODE_ENV === 'production' ? [cssnano] : [])
]
}