This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
site/postcss.config.js

14 lines
277 B
JavaScript
Raw Normal View History

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] : [])
]
}