mirror of
https://github.com/iconify/iconify.git
synced 2025-01-05 15:02:09 +00:00
fix(tailwind): run plugin script only once
This commit is contained in:
parent
ad8305400c
commit
1152246322
@ -9,8 +9,8 @@ function iconifyPlugin(
|
||||
icons: string[] | string,
|
||||
options: IconifyPluginOptions = {}
|
||||
) {
|
||||
const rules = getCSSRules(icons, options);
|
||||
return plugin(({ addUtilities }) => {
|
||||
const rules = getCSSRules(icons, options);
|
||||
addUtilities(rules);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user