mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-07-14 00:00:06 +08:00
2.26.1
This commit is contained in:
+1
-1
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
|
||||
);
|
||||
},
|
||||
err => {
|
||||
console.error('Failed to compile');
|
||||
printBuildError(err);
|
||||
throw new Error('Failed to compile');
|
||||
process.exit(1);
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
|
||||
);
|
||||
},
|
||||
err => {
|
||||
console.error('Failed to compile');
|
||||
printBuildError(err);
|
||||
throw new Error('Failed to compile');
|
||||
process.exit(1);
|
||||
}
|
||||
)
|
||||
|
||||
@@ -139,6 +139,8 @@ checkBrowsers(paths.appPath, isInteractive)
|
||||
stats = stats.toJson();
|
||||
|
||||
if (stats.errors && stats.errors.length > 0) {
|
||||
devServer.close();
|
||||
process.exit(1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user