Including a subset of unpkg? #115

Closed
opened 1 year ago by chiraag-nataraj · 3 comments

So, I know this is definitely infeasible in whole, but would it be possible to include a subset of the resources served through unpkg.com? I don't know how that subset would be selected though...maybe most used resources?

So, I know this is definitely infeasible in whole, but would it be possible to include a subset of the resources served through unpkg.com? I don't know how that subset would be selected though...maybe most used resources?
Poster
For example, the packages loaded by https://curiositystream are: * https://unpkg.com/@umds/object-assign@4.1.1-beta.24/object-assign.min.js * https://unpkg.com/react@16.13.1/umd/react.production.min.js * https://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js * https://unpkg.com/redux@4.0.5/dist/redux.min.js * https://unpkg.com/react-redux@7.2.0/dist/react-redux.min.js * https://unpkg.com/history@4.10.1/umd/history.min.js * https://unpkg.com/prop-types@15.7.2/prop-types.min.js * https://unpkg.com/react-router@5.1.2/umd/react-router.min.js * https://unpkg.com/axios@0.19.2/dist/axios.min.js * https://unpkg.com/react-side-effect@1.2.0/lib/index.umd.min.js * https://unpkg.com/react-lifecycles-compat@3.0.4/react-lifecycles-compat.min.js
nobody added the
question/discussion
label 1 year ago
Owner

This CDN is already included. The structure is similar to jsDelivr, see here and here

Everything under jsDelivr is also valid for unpkg, but in the meantime there are some differences, so that we could also separate them.

I've checked a few frameworks and there was always a match. Okay, then everything stays as it is.

This CDN is already included. The structure is similar to jsDelivr, see [here](https://codeberg.org/nobody/LocalCDN/src/branch/main/core/mappings.js#L822) and [here](https://codeberg.org/nobody/LocalCDN/src/branch/main/core/mappings.js#L365) ~~Everything under jsDelivr is also valid for unpkg, but in the meantime there are some differences, so that we could also separate them.~~ I've checked a few frameworks and there was always a match. Okay, then everything stays as it is.
nobody closed this issue 1 year ago
Poster

Hmm, that's odd because it seems to not be loaded properly on that site.

[Edit] Never mind, saw your comments on #114.

Hmm, that's odd because it seems to not be loaded properly on that site. [Edit] Never mind, saw your comments on #114.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.