-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(index.js): Improved HMR detection multi instance collisions (#104)
* 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 * 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 * version bump * perp for release
- Loading branch information
1 parent
7e15d9d
commit 6caeeca
Showing
5 changed files
with
130 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.