unwriter / datacash

The simplest way to write data to Bitcoin Cash blockchain
58 stars 17 forks source link

add uglify build script #2

Closed cyio closed 6 years ago

cyio commented 6 years ago

Problem: larger than 500kb and more than 2s to waiting for a js library is not ok.

image

I prefer to use datacash.min.js

cyio commented 6 years ago

lighthouse report

image

unwriter commented 6 years ago

Thanks for the PR. I also just updated the unpkg attribute in package.json and re-published to NPM so just pointing to https://unpkg.com/datacash automatically points to the latest minified js.

cyio commented 6 years ago

Ok, resolved. I also change cdn to jsdelivr for better connection in China.