Skip to content

Commit

Permalink
fix build web
Browse files Browse the repository at this point in the history
  • Loading branch information
yylgit committed Apr 19, 2019
1 parent 00f56bc commit 87886df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/chameleon-tool/commanders/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ exports.getWebBuildPromise = async function (media, isCompile) {
}
return devServer({webpackConfig, options, compiler});
} else {
return exports.getBuildPromise(media, 'web');
if (isCompile) {
return exports.getBuildPromise(media, 'web');
} else {
return Promise.resolve();
}
}
}

Expand Down

0 comments on commit 87886df

Please sign in to comment.