Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
fix(build): fix default condition for build target (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martino Christanto Khuangga authored and regalius committed Feb 22, 2019
1 parent 97ddbfe commit bacb8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/treats/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const build = argv => {
webpackBuild(webpackConfig.client);
break;
default:
if(argv.target) {
if(!argv.target) {
webpackBuild(configs);
} else {
logger("warn", "Target unknown, can't build!");
Expand Down

0 comments on commit bacb8ce

Please sign in to comment.