You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler is meant to be imported as a raw js file (and so is bundled fully, into what should basically be an iife) because esm support for workers was limited (missing in firefox) until recently
Just noticed this as I was poking around
How is this meant to be used in a browser, since browsers don't support commonjs?
might be related to #174
thanks!!
tho, maybe I don't know what's going on here -- esm.sh thinks there are exports
Searching through https://esm.sh/v135/[email protected]/es2022/dist/compiler.js
it's kind of hard to see what is actually exported, since so much content is in strings 😅
(turns out esm.sh is a better source viewer than npm haha)
The text was updated successfully, but these errors were encountered: