Closed dkent600 closed 7 years ago
When I run the webpack uglifyjs plugin on index.js, it fails:
ERROR in vendor.js from UglifyJs SyntaxError: Unexpected token: name (Transaction) [./~/ethereumjs-tx/index.js:36,0]
It doesn't like modules.export = class Transaction
modules.export = class Transaction
Is there a work-around for this?
OK, I was using v1.2.5 and find that your latest version is emitting ES5 and is thus avoiding the problem. So I'm closing the issue.
When I run the webpack uglifyjs plugin on index.js, it fails:
It doesn't like
modules.export = class Transaction
Is there a work-around for this?