Skip to content
Snippets Groups Projects
Commit 1c31dd48 authored by Alf Eaton's avatar Alf Eaton
Browse files

Disable hot reloading

parent 75aea0e6
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
"string-replace-loader": "^1.3.0", "string-replace-loader": "^1.3.0",
"style-loader": "^0.18.2", "style-loader": "^0.18.2",
"webpack": "^3.5.5", "webpack": "^3.5.5",
"webpack-dev-middleware": "^1.11.0", "webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.18.1" "webpack-hot-middleware": "^2.18.1"
}, },
"scripts": { "scripts": {
......
...@@ -31,7 +31,7 @@ module.exports = [ ...@@ -31,7 +31,7 @@ module.exports = [
rules rules
}, },
resolve: { resolve: {
// symlinks: false, symlinks: false, // needed so that babel doesn't look for plugins in components
modules: [ modules: [
path.resolve(__dirname, '..'), // needed for resolving app/routes path.resolve(__dirname, '..'), // needed for resolving app/routes
path.resolve(__dirname, '../node_modules'), path.resolve(__dirname, '../node_modules'),
...@@ -47,7 +47,7 @@ module.exports = [ ...@@ -47,7 +47,7 @@ module.exports = [
extensions: ['.js', '.jsx'], extensions: ['.js', '.jsx'],
}, },
plugins: [ plugins: [
new webpack.HotModuleReplacementPlugin(), // new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin(), new webpack.NoEmitOnErrorsPlugin(),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('dev'), 'process.env.NODE_ENV': JSON.stringify('dev'),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment