11 lines
231 B
JavaScript
11 lines
231 B
JavaScript
const PRODUCTION = process.env.NODE_ENV === "production";
|
|
|
|
export default {
|
|
plugins: {
|
|
"@tailwindcss/postcss": {},
|
|
|
|
// Only enable the 'cssnano' plugin in production:
|
|
...(PRODUCTION ? { cssnano: {} } : null),
|
|
},
|
|
};
|