mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 20:51:12 +08:00
Make error overlay filename configurable (#3028)
* Make error overlay file configurable * Add fallback filename
This commit is contained in:
committed by
Dan Abramov
parent
6644054fc3
commit
8a72a314bc
@@ -33,6 +33,7 @@ ErrorOverlay.startReportingRuntimeErrors({
|
||||
module.hot.decline();
|
||||
}
|
||||
},
|
||||
filename: 'static/js/bundle.js',
|
||||
});
|
||||
|
||||
if (module.hot && typeof module.hot.dispose === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user