Skip to content

Commit 19f2de7

Browse files
committed
fixed error handling in resolve
1 parent 5508747 commit 19f2de7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/resolve.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function doResolve(context, identifier, options, type, callback) {
6464
}
6565
}
6666
resolveLoaders(context, identifiers, options, function(err, identifiers) {
67+
if(err) return callback(err);
6768
identifiers.push(resource);
6869
var intermediateResult = identifiers.join("!");
6970
var postprocessors = options.postprocess[type].slice(0);

‎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.4.19",
3+
"version": "0.4.20",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs 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)