Having a separate entry point per test file can result in incredibly slow Webpack builds on a large codebase however using the CommonsChunkPlugin along with Jest's config.setupEnvScriptFile can significantly improve this. It would be good to provide an example.
It would also be good to include an example of incremental builds used along side Jest's watch.
Having a separate entry point per test file can result in incredibly slow Webpack builds on a large codebase however using the CommonsChunkPlugin along with Jest's
config.setupEnvScriptFile
can significantly improve this. It would be good to provide an example.It would also be good to include an example of incremental builds used along side Jest's watch.