Skip to content

Commit

Permalink
fix: update uglify config to not compress (and mess with js-ipfs)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored and daviddias committed Dec 10, 2017
1 parent 02c056f commit 17a28a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ function minify (ctx, task) {
return fs.readFile(path.join(process.cwd(), 'dist', 'index.js'))
.then((code) => {
const result = Uglify.minify(code.toString(), {
mangle: false
mangle: false,
compress: false
})
if (result.error) {
throw result.error
Expand Down

0 comments on commit 17a28a6

Please sign in to comment.