v0.5.15
External variables feature
When some external variables are defined (for example CSS variables) it makes no sense to define or import them into Stylify. Instead you can use mark them as external. More info in docs.
const stylifyConfig = {
compiler: {
externalVariables: [
// Simple string check
'test',
// Flexible function check. Return true if matched. Otherwise return undefined or nothing.
(variable) => {
if (variable.startsWith('md-') return true;
}
]
}
}Full Changelog: v0.5.14...v0.5.15