Skip to content

Commit 6f701eb

Browse files
committed
Pass options when using addComponents and matchComponents
1 parent 0f37845 commit 6f701eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tailwindcss/src/compat/plugin-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,11 +341,11 @@ export function buildPluginApi(
341341
},
342342

343343
addComponents(components, options) {
344-
this.addUtilities(components)
344+
this.addUtilities(components, options)
345345
},
346346

347347
matchComponents(components, options) {
348-
this.matchUtilities(components)
348+
this.matchUtilities(components, options)
349349
},
350350

351351
theme: createThemeFn(

0 commit comments

Comments
 (0)