Skip to content

Commit fd500fc

Browse files
committed
Exclude variantPlugins from corePluginList
This change avoids unnecessarily registering variantPlugins twice.
1 parent 0917fca commit fd500fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/setupContextUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ function collectLayerPlugins(root) {
719719
}
720720

721721
function resolvePlugins(context, root) {
722-
let corePluginList = Object.entries({ ...variantPlugins, ...corePlugins })
722+
let corePluginList = Object.entries(corePlugins)
723723
.map(([name, plugin]) => {
724724
if (!context.tailwindConfig.corePlugins.includes(name)) {
725725
return null

0 commit comments

Comments
 (0)