reproduce set threads: true webpack4 yarn add webpack@webpack-4 -D yarn build webpack5 yarn add webpack@latest -D yarn build