react-redux-starter-kit icon indicating copy to clipboard operation
react-redux-starter-kit copied to clipboard

HMR fails on second update

Open matgessel opened this issue 8 years ago • 0 comments

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

matgessel avatar Jun 08 '17 03:06 matgessel