Compiler not published as ESM?
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 https://github.com/solidjs/solid-playground/issues/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 :sweat_smile:
(turns out esm.sh is a better source viewer than npm haha)
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
is there a version of the compiler that would work with esm.sh?