CRA is well known for bootstrapping a React App. It hides the complexity of bundling and configuration over react-scripts
. However, in some scenarios, it's very hard to customize CRA for a specific purpose. Make Jest Preview works seamlessly with CRA is an example.
Currently, there is no way to customize CRA's jest.config.js
file easily. So, Jest Preview bundles a few CLIs to make integrating Jest Preview to CRA effortless. We hope with this built-in helper CLI, CRA users can adopt Jest Preview easier.
First class support for Create React App
· 阅读需 3 分钟