diff --git a/README.md b/README.md index 33794e6..8bb3354 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ This repo demonstrates pure components. It's based on the [React Transform Boile * Examples of pure components. * Pure component factories, so you can use a single React instance, even if you load React from CDN. -* Hot reloading * Unit test example with tape, demonstrating an easy way to test pure components. ## Getting Started diff --git a/devServer.js b/devServer.js index 215420c..22b1376 100644 --- a/devServer.js +++ b/devServer.js @@ -1,17 +1,7 @@ var path = require('path'); var express = require('express'); -var webpack = require('webpack'); -var config = require('./webpack.config.dev'); var app = express(); -var compiler = webpack(config); - -app.use(require('webpack-dev-middleware')(compiler, { - noInfo: true, - publicPath: config.output.publicPath -})); - -app.use(require('webpack-hot-middleware')(compiler)); app.get('*', function(req, res) { res.sendFile(path.join(__dirname, 'index.html')); diff --git a/package.json b/package.json index 71554bc..83d9fa6 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,6 @@ "react", "reactjs", "boilerplate", - "hot", - "reload", - "hmr", - "live", - "edit", "webpack", "babel", "react-transform" @@ -62,9 +57,7 @@ "tape": "4.5.1", "updtr": "0.1.10", "watch": "0.17.1", - "webpack": "1.13.0", - "webpack-dev-middleware": "1.6.1", - "webpack-hot-middleware": "2.10.0" + "webpack": "1.13.0" }, "dependencies": { "react": "15.0.1", diff --git a/webpack.config.dev.js b/webpack.config.dev.js index 8eca9dd..ea409fa 100644 --- a/webpack.config.dev.js +++ b/webpack.config.dev.js @@ -1,5 +1,4 @@ var path = require('path'); -var webpack = require('webpack'); module.exports = { devtool: 'eval', @@ -7,7 +6,6 @@ module.exports = { root: __dirname + '/source' }, entry: [ - 'webpack-hot-middleware/client', './source/index' ], output: { @@ -15,10 +13,6 @@ module.exports = { filename: 'index.js', publicPath: '/static/' }, - plugins: [ - new webpack.HotModuleReplacementPlugin(), - new webpack.NoErrorsPlugin() - ], module: { loaders: [{ test: /\.js$/,