Skip to content

Commit 400f10f

Browse files
committed
Add legacy moduleName property to plugins options - fix #1120
1 parent 1159244 commit 400f10f

2 files changed

Lines changed: 2 additions & 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.moduleName = jsPlugin.moduleName;
125126
bs.registerPlugin(jsPlugin.module, jsPlugin.options);
126127
});
127128

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"browser-sync-spa": "1.0.2",
6161
"bs-html-injector": "3.0.1",
6262
"bs-latency": "1.0.0",
63+
"bs-rewrite-rules": "1.0.0",
6364
"bs-snippet-injector": "2.0.1",
6465
"chai": "3.2.0",
6566
"chalk": "1.1.1",

0 commit comments

Comments
 (0)