Oliver Davies
cb79277374
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).
9 lines
175 B
JavaScript
9 lines
175 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
require('tailwindcss'),
|
|
...process.env.NODE_ENV === 'production'
|
|
? [require('cssnano')]
|
|
: []
|
|
]
|
|
}
|