webvm/postcss.config.js
Alessandro Pignotti 0d60f79c99 Convert to SvelteKit setup
With an SPA
2024-10-10 22:26:24 +02:00

22 lines
469 B
JavaScript

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':
return false;
}
return true;
}}
},
}