File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,8 @@ node_modules/
4
4
dist /
5
5
package.json
6
6
CHANGELOG.md
7
- .cache
7
+ .cache
8
+ babel.js
9
+ index.js
10
+ patch.js
11
+ root.js
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ if (module.hot) {
5
5
if ( ! module . parents || module . parents . length === 0 ) {
6
6
throw new Error (
7
7
'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +
8
- 'Please use `import {hot} from "react-hot-loader"` instead' ,
8
+ 'Please use `import {hot} from "react-hot-loader"` instead'
9
9
) ;
10
10
}
11
11
// access parent
12
12
var parent = cache [ module . parents [ 0 ] ] ;
13
13
if ( ! parent ) {
14
14
throw new Error (
15
15
'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +
16
- 'Please use `import {hot} from "react-hot-loader"` instead' ,
16
+ 'Please use `import {hot} from "react-hot-loader"` instead'
17
17
) ;
18
18
}
19
19
// remove self from a cache
You can’t perform that action at this time.
0 commit comments