Skip to content

Commit 316cd04

Browse files
committed
no need "loader: 'react-hot-loader/webpack'" in webpack config
1 parent facb092 commit 316cd04

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"less": "^2.7.2",
162162
"less-loader": "^4.0.3",
163163
"lighthouse": "^3.0.1",
164-
"lint-staged": "^6.0.0",
164+
"lint-staged": "^7.2.0",
165165
"node-sass": "^4.7.2",
166166
"piping": "^1.0.0-rc.4",
167167
"postcss": "^6.0.9",

webpack/dev.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,8 @@ var webpackConfig = module.exports = {
168168

169169
helpers.createHappyPlugin('jsx', [
170170
{
171-
loader: 'react-hot-loader/webpack'
172-
}, {
173171
loader: 'babel-loader',
172+
exclude: /node_modules(\/|\\)(?!(@feathersjs))/,
174173
options: babelLoaderQuery
175174
}, {
176175
loader: 'eslint-loader',

0 commit comments

Comments
 (0)