Skip to content

Commit 22055c8

Browse files
committed
fixed error handling
1 parent fbab894 commit 22055c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/buildDeps.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
159159
if(err) return callback(err);
160160
execLoaders(context, filenameWithLoaders, preLoaders, [filename], [content], cacheEntry, options,
161161
function(err, result, preLoadersCacheable) {
162+
if(err) return callback(err);
162163
execLoaders(context, filenameWithLoaders, loaders, [filename], result, cacheEntry, options,
163164
function(err, result, loadersCacheable) {
165+
if(err) return callback(err);
164166
execLoaders(context, filenameWithLoaders, postLoaders, [filename], result, cacheEntry, options,
165167
function(err, result, postLoadersCacheable) {
166168
if(err) return callback(err);

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.22",
3+
"version": "0.4.23",
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)