stop minifying as it doesn't improve performance significantly

This commit is contained in:
Guillermo Rauch 2016-07-08 16:00:51 -07:00
parent 25624494ad
commit 4fdeb59d7e
2 changed files with 1 additions and 5 deletions

View file

@ -21,7 +21,6 @@
"babel-loader": "6.2.4",
"babel-plugin-transform-es2015-modules-commonjs": "6.10.3",
"babel-plugin-transform-react-jsx": "6.8.0",
"babel-preset-es2015": "^6.9.0",
"css-loader": "0.23.1",
"eslint": "2.13.1",
"eslint-config-standard": "5.3.1",
@ -61,10 +60,8 @@
}
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-es2015-modules-commonjs",
"transform-react-jsx"
]
},

View file

@ -33,7 +33,6 @@ module.exports = {
plugins: [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.ExternalsPlugin('commonjs', ['electron']),
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false } }),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(process.env.NODE_ENV)