#... is not exported by "__vite-browser-external"
4 messages · Page 1 of 1 (latest)
I'm running on cloudflare pages with nodejs_compat set so I can access certain node: libraries at runtime (https://developers.cloudflare.com/workers/runtime-apis/nodejs). How can I access them without polyfills (since they're available)
nvm, I fixed it. I was doing the external in .\adapters\cloudflare-pages\vite.config.ts not in .\vite.config.ts
this could maybe be a good thing to add to https://qwik.builder.io/docs/deployments/cloudflare-pages/ under "Advanced" re. the nodejs_compat mode, I wouldn't have assumed I had to do anything special to use the node APIs