Skip to content

Commit eda45fe

Browse files
committed
fixed a bug
1 parent 68ee0a6 commit eda45fe

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/Compiler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ Compiler.prototype.compile = function(callback) {
267267
var compilation = this.newCompilation(params);
268268

269269
this.applyPluginsAsync("make", compilation, function(err) {
270+
if(err) return callback(err);
271+
270272
compilation.seal(function(err) {
271273
if(err) return callback(err);
272274

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.9.0-beta7",
3+
"version": "0.9.0-beta8",
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 loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.",
66
"dependencies": {

0 commit comments

Comments
 (0)