fix: apply store HMR to whole store (#4589)

This commit is contained in:
Alexander Lichter 2018-12-19 16:26:58 +00:00 committed by Sébastien Chopin
parent c8b920a145
commit 81cf09cb76

View File

@ -21,7 +21,7 @@ void function updateModules() {
// If store is not an exported method = modules store
if (typeof storeData !== 'function') {
// Store modules
if (!storeData.modules || module.hot) {
if (!storeData.modules) {
storeData.modules = {}
}