skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

Add a flag to disable building entirely? (npm package is already built (skypack build breaks things)) #258

Open NullVoxPopuli opened 2 years ago

NullVoxPopuli commented 2 years ago

I have a package that's already ESM, should work if the files are straight downloaded:

However, due to the build step, I'm not able to import from the skypack cdn

NullVoxPopuli commented 2 years ago

I've had this problem with browser packages, too, not just node.

Pretty much everything I've tried to use skypack for is broken by the build I didn't ask for :upside_down_face:

I understand imports we need to be rewritten for cascading skypack requests. And some packages aren't on npm (like node built ins), or are build time fake babel packages. Can we just ignore those? Instead of error?