Good health all.
I got this error after adding cloudflare-pages plugin to deploy on Cloudflare Pages:
pnpm run qwik add cloudflare-pages
pnpm i && pnpm build
...
[commonjs--resolver] Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency.
error during build:
RollupError: Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency.
PLease help, thanks much
Good health all. I got this error after adding cloudflare-pages plugin to deploy on Cloudflare Pages: pnpm run qwik add cloudflare-pages pnpm i && pnpm build ... [commonjs--resolver] Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency. error during build: RollupError: Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency. PLease help, thanks much