mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 11:03:57 +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
|
coverage
|
||||||
.idea
|
.idea
|
||||||
.eslintcache
|
.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');
|
var webpack = require('webpack');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devtool: 'eval',
|
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
||||||
|
devtool: 'eval-source-map',
|
||||||
entry: [
|
entry: [
|
||||||
'webpack-dev-server/client?http://localhost:3000',
|
'webpack-dev-server/client?http://localhost:3000',
|
||||||
'webpack/hot/only-dev-server',
|
'webpack/hot/only-dev-server',
|
||||||
|
|
|
@ -47,7 +47,7 @@ export default class TodoTextInput extends Component {
|
||||||
})}
|
})}
|
||||||
type="text"
|
type="text"
|
||||||
placeholder={this.props.placeholder}
|
placeholder={this.props.placeholder}
|
||||||
autoFocus="true"
|
autoFocus={true}
|
||||||
value={this.state.text}
|
value={this.state.text}
|
||||||
onBlur={::this.handleBlur}
|
onBlur={::this.handleBlur}
|
||||||
onChange={::this.handleChange}
|
onChange={::this.handleChange}
|
||||||
|
|
|
@ -2,7 +2,8 @@ var path = require('path');
|
||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devtool: 'eval',
|
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
||||||
|
devtool: 'eval-source-map',
|
||||||
entry: [
|
entry: [
|
||||||
'webpack-dev-server/client?http://localhost:3000',
|
'webpack-dev-server/client?http://localhost:3000',
|
||||||
'webpack/hot/only-dev-server',
|
'webpack/hot/only-dev-server',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user