Skip to content

Commit

Permalink
remove uglyfy until this is fixed ipfs-inactive/js-ipfs-http-client#611
Browse files Browse the repository at this point in the history
  • Loading branch information
godfreyhobbs committed Jul 10, 2018
1 parent c48937b commit ec15e82
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 71 deletions.
27 changes: 14 additions & 13 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,20 @@ module.exports = {
// Try to dedupe duplicated modules, if any:
new webpack.optimize.DedupePlugin(),
// Minify the code.
new webpack.optimize.UglifyJsPlugin({
compress: {
screw_ie8: true, // React doesn't support IE8
warnings: false
},
mangle: {
screw_ie8: true
},
output: {
comments: false,
screw_ie8: true
}
}),
// stopped due to https://github.com/ipfs/js-ipfs-api/issues/611
// new webpack.optimize.UglifyJsPlugin({
// compress: {
// screw_ie8: true, // React doesn't support IE8
// warnings: false
// },
// mangle: {
// screw_ie8: true
// },
// output: {
// comments: false,
// screw_ie8: true
// }
// }),
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
new ExtractTextPlugin('static/css/[name].[contenthash:8].css'),
// Generate a manifest file which contains a mapping of all asset filenames
Expand Down
156 changes: 99 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"eth-ecies": "^1.0.3",
"ethereumjs-util": "^5.2.0",
"history": "^4.7.2",
"ipfs-api": "^22.1.0",
"ipfs-api": "^22.2.3",
"material-ui": "^0.20.1",
"metamask-logo": "^2.2.0",
"prop-types": "^15.6.2",
Expand Down

0 comments on commit ec15e82

Please sign in to comment.