Skip to content

Commit

Permalink
Rename failFast to crashOverlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 7, 2017
1 parent de35346 commit f31e5ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"ansiHTML.js",
"checkRequiredFiles.js",
"clearConsole.js",
"failFast.css",
"failFast.js",
"crashOverlay.js",
"FileSizeReporter.js",
"formatWebpackMessages.js",
"getProcessForPort.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module.exports = {
require.resolve('react-dev-utils/webpackHotDevClient'),
// We ship a few polyfills by default:
require.resolve('./polyfills'),
// In development, we want to fail fast
require.resolve('react-dev-utils/failFast'),
// Errors should be considered fatal in development
require.resolve('react-dev-utils/crashOverlay'),
// Finally, this is your app's code:
paths.appIndexJs
// We include the app code last so that if there is a runtime error during
Expand Down

0 comments on commit f31e5ab

Please sign in to comment.