AngelMunoz / Perla

A cross-platform tool for unbundled front-end development that doesn't depend on Node or requires you to install a complex toolchain
https://perla-docs.web.app/
MIT License
131 stars 12 forks source link

Switch between dev/prod dependencies for skypack #79

Closed AngelMunoz closed 1 year ago

AngelMunoz commented 2 years ago

Is your feature request related to a problem? Please describe. Skypack CDN (and I think JSPM as well) allows you to specify URLs for both dev and production

Describe the solution you'd like At the moment we're saving only the prod versions to the importmap it would be nice to support switching back and forth when building and when developing

Describe alternatives you've considered Keep using only the prod dependencies although for debugging it can be quite annoying

Additional context Users can always switch manually the URL's in their import maps but it would be nice if it was automatic

AngelMunoz commented 1 year ago

This is available in the v1 previews