mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-06-17 02:51:08 +08:00
Override chrome stack trace limit
This commit is contained in:
4
packages/react-dev-utils/failFast.js
vendored
4
packages/react-dev-utils/failFast.js
vendored
@@ -224,6 +224,10 @@
|
||||
|
||||
window.addEventListener('keydown', escapeHandler)
|
||||
|
||||
try {
|
||||
Error.stackTraceLimit = 50
|
||||
} catch (e) { }
|
||||
|
||||
if (module.hot) {
|
||||
module.hot.dispose(function() {
|
||||
unmount()
|
||||
|
||||
Reference in New Issue
Block a user