Skip to content

Commit ef199fb

Browse files
committed
bugfix
1 parent 466ec90 commit ef199fb

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎lib/buildDeps.js‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
409409
});
410410
options.workers.run("buildModule", context, filenameWithLoaders,
411411
preLoaders, loaders, postLoaders,
412-
filename, opt, function(err, source, deps, cacheInfo, profileBuild) {
412+
filename, opt, function(err, extraResults, source, deps) {
413413
if(err) err = {
414414
message: err.message,
415415
stack: err.stack,
@@ -418,7 +418,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
418418
return this._toString
419419
}
420420
}
421-
callback(err, source, deps, cacheInfo, profileBuild);
421+
callback(err, extraResults, source, deps);
422422
});
423423
}
424424

@@ -442,7 +442,6 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
442442

443443
function seperateResolveLoaders() {
444444
var args = Array.prototype.slice.call(arguments, 0);
445-
var workers = args[0];
446445
args.unshift("resolve.loaders");
447446
var callback = args.pop();
448447
args.push(function(err, loaders) {
@@ -456,7 +455,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
456455
}
457456
callback(err, loaders);
458457
});
459-
workers.run.apply(workers, args);
458+
options.workers.run.apply(workers, args);
460459
}
461460
}
462461

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack",
3-
"version": "0.7.3",
3+
"version": "0.7.4",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
66
"dependencies": {

0 commit comments

Comments
 (0)