mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-25 14:52:18 +00:00
Fix debug in production webpack (same change made on dweb-transports dweb-objects and dweb-archive)
This commit is contained in:
parent
2ec151a008
commit
d84e5468d8
@ -49,5 +49,5 @@
|
||||
"test": "cd src; node ./test.js",
|
||||
"help": "echo 'test (test it)'; echo 'build (creates dweb-transports-bundle)'"
|
||||
},
|
||||
"version": "0.1.12"
|
||||
"version": "0.1.13"
|
||||
}
|
||||
|
@ -25,13 +25,18 @@ module.exports = {
|
||||
zlib: 'browserify-zlib-next'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
optimization: {
|
||||
minimizer: [
|
||||
new UglifyJsPlugin({
|
||||
uglifyOptions: {
|
||||
compress: {
|
||||
unused: false
|
||||
unused: false,
|
||||
collapse_vars: false // debug has a problem in production without this.
|
||||
}
|
||||
|
||||
//compress: false
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user