Skip to content

Commit 989eebf

Browse files
committed
fix: trailing commas at entrypoints, fixes #1226
1 parent c87487d commit 989eebf

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: .prettierignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ node_modules/
44
dist/
55
package.json
66
CHANGELOG.md
7-
.cache
7+
.cache
8+
babel.js
9+
index.js
10+
patch.js
11+
root.js

Diff for: root.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ if (module.hot) {
55
if (!module.parents || module.parents.length === 0) {
66
throw new Error(
77
'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'
99
);
1010
}
1111
// access parent
1212
var parent = cache[module.parents[0]];
1313
if (!parent) {
1414
throw new Error(
1515
'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'
1717
);
1818
}
1919
// remove self from a cache

0 commit comments

Comments
 (0)