chore: Add hot-reloading for the React app

This commit is contained in:
Erik Ziegler committed 2019-08-15 09:47:49 +02:00
1 parent 7982cf4fb4
commit 20d8f0f5db
4 files changed
+20 -1

No files matched your search

+4 -1
View File
@@ -1,4 +1,7 @@
import { hot } from 'react-hot-loader/root';
import './config';
// Polyfills
// PWA Only?
import 'core-js/features/array/flat';
@@ -194,5 +197,5 @@ function _makeAbsoluteIfNecessary(url, base_url) {
return base_url + url;
}
export default App;
export default hot(App);
export { commandsManager, extensionManager, hotkeysManager };