react-redux-starter-kit
react-redux-starter-kit copied to clipboard
HMR fails on second update
I was having this problem on a derivative project, however I can't reproduce it in the vanilla starter project.
Webpack 2 projects require that modules: falsebe specified for Babel. It appears that this setting is being ignored because it is a property of the wrong object. If you look at the docs for babel-preset-env, modules is a sibling (not a child) of targets. Moving the property up one level fixed my issue.
Keywords: webpack webpack2 modules, hot module reloading hmr second, 2nd