florida-drupalcamp-tailwindcss/postcss.config.js
Oliver Davies cb79277374 Add and configure Tailwind CSS
Add and configure Tailwind CSS within the project, including adding npm
scripts for compiling the CSS, configuring purge settings, and adding
the `cssnano` library for minifying the CSS (which is run for production
builds).
2020-12-26 22:43:57 +00:00

9 lines
175 B
JavaScript

module.exports = {
plugins: [
require('tailwindcss'),
...process.env.NODE_ENV === 'production'
? [require('cssnano')]
: []
]
}