Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Use bare unpkg URL#958

Merged
mhevery merged 1 commit intoangular:masterfrom
mjackson:use-unpkg
Dec 27, 2017
Merged

Use bare unpkg URL#958
mhevery merged 1 commit intoangular:masterfrom
mjackson:use-unpkg

Conversation

@mjackson
Copy link
Copy Markdown
Contributor

@mjackson mjackson commented Nov 17, 2017

This change adds an unpkg field to package.json that will allow users to load zone.js via https://unpkg.com/zone.js (i.e. w/out using the ?main=browser query parameter).

Also, just FYI, we're removing support for using the browser fallback on unpkg.com due to the fact that it was originally intended to be used by bundlers, which unpkg is not.

For more info, please see unpkg/unpkg#63

This change adds an `unpkg` field to package.json that will allow users
to load zone.js via unpkg w/out using the ?main=browser query parameter.

Also, we're removing support for using the `browser` fallback on
unpkg.com due to the fact that it was originally intended to be used by
bundlers, which unpkg is not.

For more info, please see unpkg/unpkg#63
@mjackson mjackson changed the title Add "unpkg" field to package.json Use bare unpkg URL Nov 17, 2017
@mhevery mhevery merged commit 91d13dd into angular:master Dec 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants