2024-10-10 14:17:36 +00:00
|
|
|
export default {
|
|
|
|
plugins: {
|
|
|
|
tailwindcss: {},
|
|
|
|
autoprefixer: {},
|
|
|
|
'postcss-discard': {rule: function(node, value)
|
|
|
|
{
|
|
|
|
if(!value.startsWith('.fa-') || !value.endsWith(":before"))
|
|
|
|
return false;
|
|
|
|
switch(value)
|
|
|
|
{
|
|
|
|
case '.fa-info-circle:before':
|
|
|
|
case '.fa-wifi:before':
|
|
|
|
case '.fa-microchip:before':
|
|
|
|
case '.fa-compact-disc:before':
|
|
|
|
case '.fa-discord:before':
|
|
|
|
case '.fa-github:before':
|
2024-10-16 14:45:02 +00:00
|
|
|
case '.fa-star:before':
|
2024-10-16 14:44:47 +00:00
|
|
|
case '.fa-circle:before':
|
2024-10-18 10:12:41 +00:00
|
|
|
case '.fa-trash-can:before':
|
2024-10-19 09:00:09 +00:00
|
|
|
case '.fa-book-open:before':
|
2024-10-10 14:17:36 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}}
|
|
|
|
},
|
|
|
|
}
|