Created by: Pompette
Hello,
Because of eslint-webpack-plugin, after upgrade to version 4.0.1 of react-scripts, our build was taking up to 15/20 minutes.
After upgrading to eslint-webpack-plugin v2.4.3 and adding opts threads: true
so it run lint tasks across a thread pool, it taking 4 / 5 minutes again.
I also added ability to disable linter from .env configuration DISABLE_ESLINT
, and from a flag -disable_eslint
.
Hope it will help.