gzip-js icon indicating copy to clipboard operation
gzip-js copied to clipboard

support UMD

Open Dafrok opened this issue 6 years ago • 1 comments

Why

Compile this package into an umd module to compatible browser runtime when using CDN.

How

<script src="//unpkg.com/gzip-js/dist/index.js></script>
<script>
gzip.zip('foo');
</script>

Dafrok avatar Mar 02 '18 07:03 Dafrok

btw, remember npm run build before publish

Dafrok avatar Mar 02 '18 07:03 Dafrok