Comments (5)
This is addressed in #22. cc: @maraoz
from bitauth.
Okay, v0.8 may help with this, however it looks like building a bundle with specific modules hasn't been included yet, so I'm unfortunately getting the reverse result.
Here are my results:
With Bitcore 0.1.37 ( running node browser/build -a <module>
):
lib/Key -> 261K
lib/SINKey -> 266K
lib/SIN -> 265K
util/util -> 261K
All of the above -> 266K
With Bitcore 0.8 ( running browser/build
):
All modules -> 443K
from bitauth.
Can you report this in Bitcore? This is an issue with BitAuth's dependencies, not BitAuth itself. We'll close this issue when it's resolved in Bitcore and subsequently utilized here.
from bitauth.
Following the how scripts/make-dist is working the file size should be a total of 318K, 266K for the bitcore bundle and 52K for BitAuth. However the end result file dist/bitauth.browser.js
is nearly three times this. While bitcore is still the larger portion, and can be reduced, there is something off here.
from bitauth.
Interesting, the command below produces a 37K file:
browserify lib/bitauth.js -s bitauth -x buffertools -i bitcore -o dist/bitauth.browser.build.js
And running this command produces a 469K file:
node_modules/.bin/browserify lib/bitauth.js -s bitauth -x buffertools -i bitcore -o dist/bitauth.browser.build.js
from bitauth.
Related Issues (20)
- Implementation Specification Paper HOT 1
- Browser build on Post-Install
- Node 0.12.0 has 'bad decrypt' error HOT 2
- Add encryption HOT 1
- signed responses? HOT 1
- Recover Public Key From Signed Message HOT 1
- Support for Web Cryptography API HOT 3
- make-dist.sh doesn't check command path or success of bundle creation and minification
- 𝒰nicode 𝔖upport? HOT 2
- Provide Browserified & Minified Code In Releases HOT 3
- Make A Tagged Release For 0.3.1 HOT 2
- BIP43 "purpose" number for bitauth key generation from a BIP32 seed HOT 2
- Broken Browserify HOT 1
- Version 0.3.1 Breaks Google Closure Compiler Support HOT 1
- Installation error HOT 1
- How is this different from a signed JWT?
- I failed to build android
- Please release a new version HOT 4
- Invalid character in header content ["x-signature"] HOT 2
- [email protected]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitauth.