fix: build
This commit is contained in:
parent
0c9111ff3a
commit
3cfa92f8f3
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user