Skip to content

Commit

Permalink
Merge pull request #177 from Paratii-Video/fix/prod-build
Browse files Browse the repository at this point in the history
quick fix for #175
  • Loading branch information
ya7ya authored Feb 17, 2018
2 parents 95ed167 + 5e3c58d commit 47e8e00
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@ const config = {
new ExtractTextPlugin('embed/index.css'),
prod
? new UglifyJsPlugin({
sourceMap: false, // this is an effor to save some memory
uglifyOptions: {
ecma: 6
}
})
sourceMap: false, // this is an effor to save some memory
uglifyOptions: {
ecma: 6,
mangle: false,
compress: false
}
})
: new webpack.HotModuleReplacementPlugin()
]
};
Expand Down

0 comments on commit 47e8e00

Please sign in to comment.