fix: Always pass pluginConfig to plugins as a defined object
This commit is contained in:
committed by
Gregor Martynus
parent
90417c6ffe
commit
8e9d9f77f3
+1
-1
@@ -36,7 +36,7 @@ const normalize = (pluginConfig, fallback) => {
|
||||
return relative(pluginConfig.path).bind(null, pluginConfig);
|
||||
}
|
||||
|
||||
return require(fallback).bind(null, pluginConfig);
|
||||
return require(fallback).bind(null, pluginConfig || {});
|
||||
};
|
||||
|
||||
module.exports.normalize = normalize;
|
||||
|
||||
Reference in New Issue
Block a user