gaearon / gaearon/react-hot-loader
Fix document
Open
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 775
- PR merge metrics
- No merged PRs in 30d
Description
### Description
See section [Webpack Plugin](https://github.com/gaearon/react-hot-loader#webpack-plugin) in README.md
```javascript
{
test: /\.js$/,
include: /node_modules\/react-dom/,
use: ['react-hot-loader/webpack']
}
```
### Expected behavior
Change property `include` to `/node_modules[\\\/]react-dom/`, the reason is you should compatible with unix and window.
### Actual behavior
Only compatible with unix
Contributor guide
Assessment
This issue has not been assessed yet.