We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47c97b2 commit 863e4c5Copy full SHA for 863e4c5
webpack.config.dev.js
@@ -4,8 +4,11 @@ var webpack = require('webpack');
4
var HtmlWebpackPlugin = require('html-webpack-plugin');
5
6
module.exports = {
7
- devtool: 'source-map',
8
- entry: './src/index.js',
+ devtool: 'eval',
+ entry: [
9
+ './src/index.js',
10
+ 'webpack-dev-server/client?http://localhost:3000'
11
+ ],
12
output: {
13
// Next line is not used in dev but WebpackDevServer crashes without it:
14
path: path.join(__dirname, 'build'),
0 commit comments