Skip to content

Commit

Permalink
fix: use proper error code on webpack build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Oct 6, 2021
1 parent fc84427 commit 2eb8154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const build = (): void => {
});
} catch (err) {
console.error(err);
console.error(`Error: can't find the configuration file located at ${configPath}.`);
throw new Error(`Error: can't find the configuration file located at ${configPath}.`);
}
};

Expand Down

0 comments on commit 2eb8154

Please sign in to comment.