Skip to content

Commit 90ce8ea

Browse files
committed
fix typo that could have weird effects in multi layer build
1 parent f0f1bd7 commit 90ce8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/lib/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = function (requirejs, layer, utils, toTransport, buildConfig) {
132132
Object.keys(onLayerEndCb).forEach(function (pluginName) {
133133
onLayerEndCb[pluginName](write, data);
134134
});
135-
onLayerEndCb = [];
135+
onLayerEndCb = {};
136136
},
137137

138138
splitPluginMid: splitPluginMid

0 commit comments

Comments
 (0)