Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN #4

Open
h0ru5 opened this issue Jan 27, 2017 · 2 comments
Open

CDN #4

h0ru5 opened this issue Jan 27, 2017 · 2 comments

Comments

@h0ru5
Copy link
Contributor

h0ru5 commented Jan 27, 2017

for browser use cases it would be great to serve this using a CDN
a low-hanging fruit would be https://unpkg.com/#/ - it mirror all NPMs

for this, we need to set up senseful ignores in the packae.json and publish to NPM
further, we should setup a build to minify the deliverables and hook it as prepublish

@danielpeintner
Copy link
Member

did upload exificient.js to NPM (see https://www.npmjs.com/package/exificient.js).

unpkg is somewhat working (see https://unpkg.com/exificient.js/) even though the documentation claims to require "a script to generate UMD build in the umd directory when you publishing" which is not there yet.

Minifier process is also not done yet!

@danielpeintner
Copy link
Member

unpkg, CDN (content delivery network) used so far

e.g.,
https://unpkg.com/exificient.js@0.0.4/dist/exificient.js

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

No branches or pull requests

2 participants