Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

run minifier in prepublish script #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gswalden
Copy link

@gswalden gswalden commented Dec 22, 2016

It would be great if jsdelivr.com could serve a minified version of this library (cdnjs.com currently does, using a minifier script in-house). I added minification to the prepublish script, which should not cause any unnecessary change to existing workflows, and results in NPM delivering both versions of the library. I also added the new files to .gitignore, hopefully making this change as unobtrusive as possible. Thanks for considering!

Would close #115.

@jimaek
Copy link

jimaek commented May 8, 2017

The new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage

Example https://cdn.jsdelivr.net/npm/[email protected]
Example directory listing https://cdn.jsdelivr.net/npm/[email protected]/

We also do auto-minification.

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

Successfully merging this pull request may close these issues.

Minified version?
3 participants