Skip to content

support UMD#19

Open
Dafrok wants to merge 1 commit intobeatgammit:masterfrom
Dafrok:master
Open

support UMD#19
Dafrok wants to merge 1 commit intobeatgammit:masterfrom
Dafrok:master

Conversation

@Dafrok
Copy link

@Dafrok Dafrok commented Mar 2, 2018

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
Copy link
Author

Dafrok commented Mar 2, 2018

btw, remember npm run build before publish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant