mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2026-10-26 17:39:34 +00:00
dev: disabled ordering during minification; it didn't make a difference.
This commit is contained in:
1 parent
7381e6358f
commit
2d3961c126
1 file changed
-9
@@ -5,15 +5,6 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
cssDeclarationSorter({
|
cssDeclarationSorter({
|
||||||
keepOverrides: true,
|
keepOverrides: true,
|
||||||
order: (a, b) => {
|
|
||||||
const aVar = a.startsWith('--');
|
|
||||||
const bVar = b.startsWith('--');
|
|
||||||
|
|
||||||
if (aVar && !bVar) return -1;
|
|
||||||
if (!aVar && bVar) return 1;
|
|
||||||
|
|
||||||
return a.localeCompare(b);
|
|
||||||
},
|
|
||||||
}),
|
}),
|
||||||
cssnano({
|
cssnano({
|
||||||
preset: 'default',
|
preset: 'default',
|
||||||
|
|||||||
Reference in new issue
Block a user