Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Automatically convert "not modern" packages in Pika CDN #62

Closed
filips123 opened this issue Jul 1, 2019 · 1 comment
Closed

Automatically convert "not modern" packages in Pika CDN #62

filips123 opened this issue Jul 1, 2019 · 1 comment

Comments

@filips123
Copy link

Pika CDN currently fails if the package is "not modern", without "module" entrypoint. This is not good because many packages aren't using that entrypoint which means users can't use them through Pika CDN.

Is it possible to automatically convert that packages to "modern" ones with Pika Pack when the user requests them? Conversion should be used the only first time when the package is requested and the result should be cached for each package version.

@FredKSchott
Copy link
Owner

+1, this has been suggested in the pika/web repo: FredKSchott/snowpack#62 feel free to continue discussing there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants