Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit 45c8a4f

Browse files
author
Dominik Rowicki
committed
Change react-hot-loader version from next (v.4 beta) to v.3
1 parent 2c8700a commit 45c8a4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: packages/react-scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"devDependencies": {
7575
"react": "^16.0.0",
7676
"react-dom": "^16.0.0",
77-
"react-hot-loader": "next",
77+
"react-hot-loader": "^3.1.3",
7878
"normalize.css": "^7.0.0"
7979
},
8080
"optionalDependencies": {

Diff for: packages/react-scripts/scripts/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = function(
101101
command = 'npm';
102102
args = ['install', '--save', verbose && '--verbose'].filter(e => e);
103103
}
104-
args.push('react', 'react-dom', 'react-hot-loader@next', 'normalize.css');
104+
args.push('react', 'react-dom', 'react-hot-loader@^3.1.3', 'normalize.css');
105105

106106
// Install additional template dependencies, if present
107107
const templateDependenciesPath = path.join(

0 commit comments

Comments
 (0)