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

Add unpkg field to package.json #531

Closed
jhildenbiddle opened this issue Jun 7, 2018 · 1 comment
Closed

Add unpkg field to package.json #531

jhildenbiddle opened this issue Jun 7, 2018 · 1 comment

Comments

@jhildenbiddle
Copy link
Member

Simple update:

"main": "lib/docsify.js",
"unpkg": "lib/docsify.min.js"

This will allow sites to add the minified version of docsify using the default unpkg url:

<script src="https://unpkg.com/docsify"></script>
QingWei-Li added a commit that referenced this issue Jun 29, 2018
@jhildenbiddle
Copy link
Member Author

Thank you! 🎉

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

1 participant