Merge pull request #1582 from saper/exit-on-config-error

Stop webpack on URL error, otherwise gulp continues
This commit is contained in:
syuilo 2018-05-16 07:36:22 +09:00 committed by GitHub
commit fcc59f877c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,5 +53,5 @@ function normalizeUrl(url: string) {
function urlError(url: string) {
console.error(`${url}」は、正しいURLではありません。先頭に http:// または https:// をつけ忘れてないかなど確認してください。`);
process.exit();
process.exit(99);
}