Closed davidapple closed 5 years ago
What are the outputs to the following 3 commands?
node -v
npm -v
browserify --version
node v9.2.0
npm v5.5.1
browserify v16.2.2
@davidapple that isn't a browserify issue.
That is an uglifyjs
issue (read your stack trace).
10 seconds looking at the uglifyjs documentation showed me:
uglify-js only supports JavaScript (ECMAScript 5).
Please read the documentation of what you are using.
@davidapple Uninstall uglifyjs
and install uglify-es
(The command stays the same)
When running
browserify -r bitcoinjs-lib -s bitcoin | uglifyjs > bitcoinjs.min.js
I get the following error: