mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-13 22:40:33 +08:00
* Browser sort is not stable * Fix ordering of final message * Register the warning capture * Display only createElement warnings * Use different method name * Fix regression * Ignore errors with only node_module files * Ignore null files, too * Revise count * Revise warning * Update overlay.js * Add support for https://github.com/facebook/react/pull/9679 * Use absolute paths * Trim path if it's absolute * Make sure it's an absolute path * Oops * Tweak for new behavior * Make it safer * More resilient warnings * Prettier output * Fix flow
react-error-overlay
react-error-overlay is an overlay which displays when there is a runtime error.
Development
When developing within this package, make sure you run npm start (or yarn start) so that the files are compiled as you work.
This is ran in watch mode by default.
If you would like to build this for production, run npm run build:prod (or yarn build:prod).
If you would like to build this one-off for development, you can run NODE_ENV=development npm run build (or NODE_ENV=development yarn build).