Skip to content

v3.1.2

Compare
Choose a tag to compare
@ScriptedAlchemy ScriptedAlchemy released this 02 Oct 05:13
· 120 commits to master since this release
6caeeca

<a name"3.1.2>

3.1.2 (2018-10-01)

  • fix(index.js): Improved HMR detection multi instance collisions addressed

Merging a PR which improved upon my initial code which allowed the plugin to automatically hot
reload. With the help of React Static, we are able to fix a bug that appeared when building out
build toolchains. This bug causes the pugin to have two seperate context references within webpack
and ends up passing incorrect references to the wrong instance. Deceptivally simple solution was
naming the context key myself.

  • fix(nested-loaders-hmr): Fix n-depth nested loader usage where HMR fails (#103)

HMR doesn't work when loaders are nested

  • fix(nested-loaders-hmr): Fix n-depth nested loader usage where HMR fails (#103)

HMR doesn't work when loaders are nested

  • feat(HMR):Adding the ability to enable hot options.

Like reload all, or css moduels CSS Modules option

  • use throw error, not console error

  • fixing error thrown by empty options object

  • Fix HMR options being ignored (fixes #106) (#107)

options.reloadAll had no effect, because they were incorrectly copied into the webpack's loader.options and could never reach hotModuleReplacement.js. This commit fixes the copy site, allowing for options to pass through. Fixes #106

  • changed context string to match webpack conventions