diff --git a/lib/buildDeps.js b/lib/buildDeps.js index 7303fe10b..9b5d7626f 100644 --- a/lib/buildDeps.js +++ b/lib/buildDeps.js @@ -409,7 +409,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) { }); options.workers.run("buildModule", context, filenameWithLoaders, preLoaders, loaders, postLoaders, - filename, opt, function(err, source, deps, cacheInfo, profileBuild) { + filename, opt, function(err, extraResults, source, deps) { if(err) err = { message: err.message, stack: err.stack, @@ -418,7 +418,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) { return this._toString } } - callback(err, source, deps, cacheInfo, profileBuild); + callback(err, extraResults, source, deps); }); } @@ -442,7 +442,6 @@ function addModule(depTree, context, modu, options, reason, finalCallback) { function seperateResolveLoaders() { var args = Array.prototype.slice.call(arguments, 0); - var workers = args[0]; args.unshift("resolve.loaders"); var callback = args.pop(); args.push(function(err, loaders) { @@ -456,7 +455,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) { } callback(err, loaders); }); - workers.run.apply(workers, args); + options.workers.run.apply(workers, args); } } diff --git a/package.json b/package.json index e9ca78a28..4c9f65ee9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack", - "version": "0.7.3", + "version": "0.7.4", "author": "Tobias Koppers @sokra", "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.", "dependencies": {