gaearon / gaearon/react-hot-loader

Fix document

Open
#1,399 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.