Closed Turbo87 closed 8 years ago
looks like rollup doesn't work on Node 0.x though... :-/
Looks like we can use Node 6 for running rollup and then use the original Node version to test the output.
I would still like to generate the browser.js file (previously in the npm run complie:browser script).
So that the demo at https://github.com/edi9999/jsqrcode/blob/master/examples/browser-upload/index.html still works.
oh I see that you have changed the index.html too
Nice work @Turbo87 !
Oops, the readme is out of sync by merging ...
@edi9999 sorry, forgot about the readme. are you planning for a new NPM release in the near future?
Yes, but not before Monday, I don't have a computer until than
I will notify you when it is released.
Released in 0.2.2 on npm
Instead of just concatenating the files use ES6 modules and bundle them together using http://rollupjs.org/
This PR also improves performance a little by attaching the methods to the prototypes instead of recreating them in every constructor