Open eknkc opened 6 months ago
Probably related to #116
This also works:
resolve: {
conditions: ["worker", "webworker"],
mainFields: ["module"],
}
Astro users face the same issue, the package.json should be fixed in solid itself: https://publint.dev/solid-js@1.8.17
Also related: https://github.com/solidjs/solid-start/issues/263
@ryansolid Is this adapter dead? Last commit 5 months ago?
I require the astro cloudflare integration which works only with fixing this issue.
While building the ssr bundle with
ssr.target = "webworker"
, it looks like the default web builds of vite is being bundled. I have these in my vite config but it is no help.Only when I add aliases to correct builds, then it works:
Here's my complete config:
Details