google / google/playground-elements

Allow CDN backend to be customized

Open
#187 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
648
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Currently unpkg.com is always used as the CDN backing external dependency imports.

The end-user should be able to change the CDN backend.

They should also be able to change the backend on a package-by-package basis. For example, on lit.dev it may be preferable to serve Lit itself from our own domain, but still allow other dependencies to come from unpkg.

A per-package "archive" format would also be great for performance. For example we could configure all of the Lit core packages (lit + lit-html + reactive-element) to be provided by a single JSON file so that most all of our examples only require 1 fetch for all dependencies.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.