Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
rm react hot
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyspiro committed Sep 14, 2017
1 parent 1f2f42c commit af667ed
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// webpack.config.js
var webpack = require('webpack')

if(process.env.NODE_ENV === 'development'){
var loaders = ['react-hot','babel']
} else {
var loaders = ['babel']
}
module.exports = {
devtool: 'eval',
entry: './app-client.js',
Expand All @@ -16,8 +11,8 @@ module.exports = {
},
module: {
loaders: [
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ },
{ test: /\.jsx$/, loader: 'babel-loader', exclude: /node_modules/ }
{ test: /\.js$/, loaders: 'babel-loader', exclude: /node_modules/ },
{ test: /\.jsx$/, loaders: 'babel-loader', exclude: /node_modules/ }
]
},
plugins: [
Expand Down

0 comments on commit af667ed

Please sign in to comment.