diff --git a/config/webpack.common.js b/config/webpack.common.js index 82b26ccc..c5a8c84b 100644 --- a/config/webpack.common.js +++ b/config/webpack.common.js @@ -133,7 +133,7 @@ module.exports = { plugins: [ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), new HappyPack({ - threads: os.cpus().length - 1, + threads: os.cpus().length - 1 || 1, id: 'jsx', loaders: ['babel-loader?cacheDirectory'], }),