Navigation Menu

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 to link to minified version #758

Merged
merged 2 commits into from Mar 11, 2019

Conversation

atomiks
Copy link
Collaborator

@atomiks atomiks commented Mar 11, 2019

On the Tippy.js website under CDN, it would be nice to have consistent formats

@FezVrasta
Copy link
Member

May you link me to the docs about this unpkg field? What's its for?

@atomiks
Copy link
Collaborator Author

atomiks commented Mar 11, 2019

https://github.com/stereobooster/package.json#unpkg

A "bare" import like https://unpkg.com/popper.js@1 will link to the minified version by default. A lot cleaner when using the CDN version

@FezVrasta
Copy link
Member

I see, thanks!

@FezVrasta FezVrasta merged commit bd1faa9 into floating-ui:master Mar 11, 2019
@atomiks atomiks deleted the patch-1 branch March 11, 2019 12:07
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.

None yet

2 participants