fix: build

This commit is contained in:
cha0s 2021-03-23 16:25:05 -05:00
parent 0c9111ff3a
commit 3cfa92f8f3

View File

@ -29,7 +29,7 @@ export default {
// eslint-disable-next-line no-param-reassign
configs.http = R(join(__dirname, 'build/.neutrinorc.js'));
}
else if (-1 !== onlyBuilds.indexOf('http')) {
else if (0 === onlyBuilds.length || -1 !== onlyBuilds.indexOf('http')) {
const binary = `$(npm --prefix ${root} bin)/webpack-dev-server`;
const config = `${__dirname}/build/webpack.config.js`;
const options = {