1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix build env(redux devtools removed)

This commit is contained in:
Rokt33r
2015-10-19 22:10:22 +09:00
parent 7459e937b5
commit 0899cea4b4
4 changed files with 22 additions and 32 deletions

View File

@@ -29,8 +29,7 @@ module.exports = {
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production'),
'BABEL_ENV': JSON.stringify('production')
'NODE_ENV': JSON.stringify('production')
}
})
// new webpack.optimize.UglifyJsPlugin({
@@ -44,17 +43,12 @@ module.exports = {
'md5',
'superagent',
'superagent-promise',
// 'react',
// 'redux',
// 'react-redux',
// 'react-router',
'react',
'redux',
'react-redux',
'react-router',
'lodash',
// 'redbox-react',
// 'react-transform-hmr',
// 'react-transform-catch-errors',
// 'redux-devtools',
// 'redux-devtools/lib/react',
// 'react-select',
'react-select',
'markdown-it',
'moment',
'fs',