mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
chore(redux-devtools): resolve warnings in examples (#546)
This commit is contained in:
parent
15265763ee
commit
016a26c837
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,4 +8,4 @@ build
|
|||
coverage
|
||||
.idea
|
||||
.eslintcache
|
||||
!packages/redux-slider-monitor/examples/todomvc/dist/
|
||||
!packages/redux-slider-monitor/examples/todomvc/dist/index.html
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user