diff --git a/.gitignore b/.gitignore index 840e4db7..277a0c39 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ build coverage .idea .eslintcache -!packages/redux-slider-monitor/examples/todomvc/dist/ +!packages/redux-slider-monitor/examples/todomvc/dist/index.html diff --git a/packages/redux-devtools/examples/counter/webpack.config.js b/packages/redux-devtools/examples/counter/webpack.config.js index 696b0257..d7df2458 100644 --- a/packages/redux-devtools/examples/counter/webpack.config.js +++ b/packages/redux-devtools/examples/counter/webpack.config.js @@ -2,7 +2,8 @@ var path = require('path'); var webpack = require('webpack'); module.exports = { - devtool: 'eval', + mode: process.env.NODE_ENV === 'production' ? 'production' : 'development', + devtool: 'eval-source-map', entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', diff --git a/packages/redux-devtools/examples/todomvc/components/TodoTextInput.js b/packages/redux-devtools/examples/todomvc/components/TodoTextInput.js index 342d8fec..b3837ba7 100644 --- a/packages/redux-devtools/examples/todomvc/components/TodoTextInput.js +++ b/packages/redux-devtools/examples/todomvc/components/TodoTextInput.js @@ -47,7 +47,7 @@ export default class TodoTextInput extends Component { })} type="text" placeholder={this.props.placeholder} - autoFocus="true" + autoFocus={true} value={this.state.text} onBlur={::this.handleBlur} onChange={::this.handleChange} diff --git a/packages/redux-devtools/examples/todomvc/webpack.config.js b/packages/redux-devtools/examples/todomvc/webpack.config.js index 8551223a..f3eab6d3 100644 --- a/packages/redux-devtools/examples/todomvc/webpack.config.js +++ b/packages/redux-devtools/examples/todomvc/webpack.config.js @@ -2,7 +2,8 @@ var path = require('path'); var webpack = require('webpack'); module.exports = { - devtool: 'eval', + mode: process.env.NODE_ENV === 'production' ? 'production' : 'development', + devtool: 'eval-source-map', entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server',