? about fix for vite-based project whose frameworks leak cloudflare:* in node
any vite-plugin devs, question for you i'm thinking about a fix for rrv7 prerender when exporting a DO or class that extends from a DO?
3 Replies
i've been thinking about injecting unstable_dev into rrv7's plugin so that when prerender occurs its using the unstable_dev/unstable_worker to render that route
either that or nodejs loaders that mock the cloudflare:*
what do you think of unstable_dev in the build once the server-build is done?
to deal with this -> TypeError: Cannot assign to read only property 'stack' of object 'Error: [react-router] Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. Received protocol 'cloudflare:''