Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Let default file for browsers be minified for bundlers and services relying on npm #3870
When serving to browsers the default file should (as default) be minified. It, therefore, makes sense to use the
Example: At the moment including something like
Indeed, I agree about this being a tradeoff.
When I look for references and posts about how / why unpkg is used it looks like a term "default-performant CDN" best describe how the benefits of unpkg is conveyed.
I will leave this open for a few more days to see if others have inputs on this matter. If no further arguments are presented I will close the PR.
unpkg looks like a great tool for getting something up and running quickly. But however fast it may be, I think there are better options for serving files in production if for no other reason than they cannot provide uptime guarantees. unpkg admits this on their about page:
In light of this, I lean towards default-debuggable, as that seems to be closer to the intended usage of unpkg.