mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-06 20:55:18 +02:00
⚡️ perf: production level nano css
This commit is contained in:
@@ -2,5 +2,12 @@ export default {
|
|||||||
plugins: {
|
plugins: {
|
||||||
tailwindcss: {},
|
tailwindcss: {},
|
||||||
autoprefixer: {},
|
autoprefixer: {},
|
||||||
|
...(process.env.NODE_ENV === 'production'
|
||||||
|
? {
|
||||||
|
cssnano: {
|
||||||
|
preset: 'default',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
: {}),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user