Repository URL to install this package:
|
Version:
3.6.2 ▾
|
import { run } from 'parallel-webpack'
throw new Error('need to load registerDotEnv here / in the webpack.config')
const configPath = require.resolve('./webpack.config.js')
console.log({ configPath })
function notify() {
console.log('@@notify')
// @note - now done on server in jenkins?
// require('../../shell/build_prod_post')
}
const parallelConfig = {
watch: false,
maxRetries: 1,
stats: true,
maxConcurrentWorkers: 2,
}
run(configPath, parallelConfig, notify)