Skip to content

Commit ec15e82

Browse files
committed
remove uglyfy until this is fixed ipfs-inactive/js-ipfs-http-client#611
1 parent c48937b commit ec15e82

File tree

3 files changed

+114
-71
lines changed

3 files changed

+114
-71
lines changed

config/webpack.config.prod.js

+14-13
Original file line numberDiff line numberDiff line change
@@ -237,19 +237,20 @@ module.exports = {
237237
// Try to dedupe duplicated modules, if any:
238238
new webpack.optimize.DedupePlugin(),
239239
// Minify the code.
240-
new webpack.optimize.UglifyJsPlugin({
241-
compress: {
242-
screw_ie8: true, // React doesn't support IE8
243-
warnings: false
244-
},
245-
mangle: {
246-
screw_ie8: true
247-
},
248-
output: {
249-
comments: false,
250-
screw_ie8: true
251-
}
252-
}),
240+
// stopped due to https://github.com/ipfs/js-ipfs-api/issues/611
241+
// new webpack.optimize.UglifyJsPlugin({
242+
// compress: {
243+
// screw_ie8: true, // React doesn't support IE8
244+
// warnings: false
245+
// },
246+
// mangle: {
247+
// screw_ie8: true
248+
// },
249+
// output: {
250+
// comments: false,
251+
// screw_ie8: true
252+
// }
253+
// }),
253254
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
254255
new ExtractTextPlugin('static/css/[name].[contenthash:8].css'),
255256
// Generate a manifest file which contains a mapping of all asset filenames

package-lock.json

+99-57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"eth-ecies": "^1.0.3",
5656
"ethereumjs-util": "^5.2.0",
5757
"history": "^4.7.2",
58-
"ipfs-api": "^22.1.0",
58+
"ipfs-api": "^22.2.3",
5959
"material-ui": "^0.20.1",
6060
"metamask-logo": "^2.2.0",
6161
"prop-types": "^15.6.2",

0 commit comments

Comments
 (0)