Skip to content

Commit 38ce6ba

Browse files
committed
Add legacy property to plugins options - fix #1120
1 parent 3b7ea77 commit 38ce6ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/async.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ module.exports = {
122122
return logPluginError(plugin);
123123
}
124124
var jsPlugin = plugin.toJS();
125+
jsPlugin.options = jsPlugin.options || {};
125126
jsPlugin.options.moduleName = jsPlugin.moduleName;
126127
bs.registerPlugin(jsPlugin.module, jsPlugin.options);
127128
});

0 commit comments

Comments
 (0)