Make error overlay filename configurable (#3028)

* Make error overlay file configurable

* Add fallback filename
This commit is contained in:
Jared Palmer
2017-09-02 16:42:04 -04:00
committed by Dan Abramov
parent 6644054fc3
commit 8a72a314bc
3 changed files with 8 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ ErrorOverlay.startReportingRuntimeErrors({
module.hot.decline();
}
},
filename: 'static/js/bundle.js',
});
if (module.hot && typeof module.hot.dispose === 'function') {