Skip to content

Commit 23ffa25

Browse files
committed
Avoid accidentally forgetting getProcessedPlugins arg when customizing config
1 parent b518dc3 commit 23ffa25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

__tests__/applyComplexClasses.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ const defaultGetProcessedPlugins = function() {
2525
function run(
2626
input,
2727
config = resolvedDefaultConfig,
28-
getProcessedPlugins = defaultGetProcessedPlugins
28+
getProcessedPlugins = () =>
29+
config === resolvedDefaultConfig
30+
? defaultGetProcessedPlugins()
31+
: processPlugins(corePlugins(config), config)
2932
) {
3033
config.experimental = {
3134
applyComplexClasses: true,

0 commit comments

Comments
 (0)