diff --git a/examples/counter/store/configureStore.js b/examples/counter/store/configureStore.js index 98de9de3..3b16e01d 100644 --- a/examples/counter/store/configureStore.js +++ b/examples/counter/store/configureStore.js @@ -7,7 +7,7 @@ import * as actionCreators from '../actions/counter'; export let isMonitorAction; export default function configureStore(preloadedState) { - const composeEnhancers = composeWithDevTools({ actionCreators }); + const composeEnhancers = composeWithDevTools({ actionCreators, trace: true, traceLimit: 25 }); const store = createStore(reducer, preloadedState, composeEnhancers( applyMiddleware(invariant(), thunk) )); diff --git a/examples/counter/webpack.config.js b/examples/counter/webpack.config.js index 6fcc6a3d..9ffaaa17 100644 --- a/examples/counter/webpack.config.js +++ b/examples/counter/webpack.config.js @@ -2,7 +2,7 @@ var path = require('path'); var webpack = require('webpack'); module.exports = { - devtool: 'cheap-module-eval-source-map', + devtool: 'source-map', entry: [ 'webpack-hot-middleware/client', './index' diff --git a/examples/saga-counter/src/main.js b/examples/saga-counter/src/main.js index 50080355..0e7fa492 100644 --- a/examples/saga-counter/src/main.js +++ b/examples/saga-counter/src/main.js @@ -13,7 +13,8 @@ import rootSaga from './sagas' const sagaMiddleware = createSagaMiddleware(/* {sagaMonitor} */) -const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; +const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ trace: true, traceLimit: 25 }) || compose; const store = createStore( reducer, composeEnhancers(applyMiddleware(sagaMiddleware)) diff --git a/examples/saga-counter/webpack.config.js b/examples/saga-counter/webpack.config.js index 2d30cf06..64462282 100644 --- a/examples/saga-counter/webpack.config.js +++ b/examples/saga-counter/webpack.config.js @@ -2,7 +2,7 @@ var path = require('path') var webpack = require('webpack') module.exports = { - devtool: 'cheap-module-eval-source-map', + devtool: 'source-map', entry: [ 'webpack-hot-middleware/client', path.join(__dirname, 'src', 'main') diff --git a/examples/todomvc/store/configureStore.js b/examples/todomvc/store/configureStore.js index bf33bb49..05f4f202 100644 --- a/examples/todomvc/store/configureStore.js +++ b/examples/todomvc/store/configureStore.js @@ -4,7 +4,7 @@ import * as actionCreators from '../actions'; export default function configureStore(preloadedState) { const enhancer = window.__REDUX_DEVTOOLS_EXTENSION__ && - window.__REDUX_DEVTOOLS_EXTENSION__({ actionCreators, serialize: true }); + window.__REDUX_DEVTOOLS_EXTENSION__({ actionCreators, serialize: true, trace: true }); if (!enhancer) { console.warn('Install Redux DevTools Extension to inspect the app state: ' + 'https://github.com/zalmoxisus/redux-devtools-extension#installation') diff --git a/examples/todomvc/webpack.config.js b/examples/todomvc/webpack.config.js index 41800a27..3d6852d6 100644 --- a/examples/todomvc/webpack.config.js +++ b/examples/todomvc/webpack.config.js @@ -2,7 +2,7 @@ var path = require('path'); var webpack = require('webpack'); module.exports = { - devtool: 'cheap-module-eval-source-map', + devtool: 'source-map', entry: [ 'webpack-hot-middleware/client', './index'