diff --git a/plugins/tailwind/src/plugin.ts b/plugins/tailwind/src/plugin.ts index 1680d2c..fb3920b 100644 --- a/plugins/tailwind/src/plugin.ts +++ b/plugins/tailwind/src/plugin.ts @@ -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); }); }