bitcoinjs / bitcoinjs-lib

A javascript Bitcoin library for node.js and browsers.
MIT License
5.62k stars 2.09k forks source link

Missing bower_components/bitcoinjs-lib/build folder after bower install #1552

Closed coopci closed 4 years ago

coopci commented 4 years ago

I was setting up a project() using bitcoinjs-lib as a dependency, it accesses http://54.169.233.199/bower_components/bitcoinjs-lib/build/bitcoinjs-lib.js from browser. So I assume there should be a "build" subfolder under bower_components/bitcoinjs-lib/, but there actually isn't. How do I generate this "build" subfolder?

junderw commented 4 years ago

We don't support bower and precompiled js files.

Please read #1220 and #314 etc. to understand why.

coopci commented 4 years ago

My understanding is a precompiled min js introduces security issue. But the Nov 17, 2014 comment in https://github.com/bitcoinjs/bitcoinjs-lib/issues/314 gives me an impression that it is possible for me to build it myself, how do I do that?