diff --git a/src/react/app.jsx b/src/react/app.jsx index 5e292a7..09b0cd3 100644 --- a/src/react/app.jsx +++ b/src/react/app.jsx @@ -4,7 +4,7 @@ import React from 'react' import { createStore, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import { reducer } from './reducer' -import logger from 'redux-logger' +// import logger from 'redux-logger' import { Tree } from './tree' import { NavBar } from './navBar' diff --git a/webpack.prod.js b/webpack.prod.js index 1c143d3..c7a3e7a 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -8,8 +8,8 @@ module.exports = merge(common, { mode: 'production', plugins: [ new webpack.DefinePlugin({ - // 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV) - 'process.env.NODE_ENV': 'production' + 'process.env.NODE_ENV': JSON.stringify('production') + // 'process.env.NODE_ENV': 'production' }), new webpack.IgnorePlugin(/redux-logger/) ]