Skip to content

Commit

Permalink
move patch to the React-Hot-Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Feb 12, 2019
1 parent 0fba9be commit 5273e06
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 106 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"react-dom": "^16.8.1"
},
"dependencies": {
"react-hot-loader":"^4.7.0",
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
Expand Down
2 changes: 1 addition & 1 deletion patch/build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const {writeFileSync, readFileSync, readdirSync, statSync, mkdirSync} = require('fs');
const pkg = require('react-dom/package');
const self = require('../source/package.base');
const patch = require('./patch');
const {default: {patch}} = require('react-hot-loader/webpack');

let patchedFiles = [];

Expand Down
105 changes: 0 additions & 105 deletions patch/patch.js

This file was deleted.

0 comments on commit 5273e06

Please sign in to comment.