jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4.04k stars 418 forks source link

the semicolon at the line start #102

Closed gandhiamarnadh closed 5 years ago

gandhiamarnadh commented 5 years ago

https://github.com/jimmywarting/StreamSaver.js/blob/5126612f58ca1ae3e050bbb06ff7bd412c390e86/StreamSaver.js#L3

what's the background for the semi colon at line start ? webpack is not able to build because of this (uglifyjs throws an exception)

gandhiamarnadh commented 5 years ago

it's not the issue, maybe because this file is in es6

gandhiamarnadh commented 5 years ago

It'll be good to add incompatibility with es5 and basically create-react-app v1 on the readme

gandhiamarnadh commented 5 years ago

related #40 and #65