
2.6.2...
_worker.js for toolsets like Remix, Astro, etc, you won't see the functions in the Function tab in the dashboard.wrangler pages deployment tail --environment=previewscript tags or components that render on the client) but result in error (500 failed to parse url) when used on the server (i.e. inside --- and that gets executed during build stage). Is it normal behaviour? does that mean functions are available only after the build stage?node_compat = true to your wrangler.toml. For a while, this worked in dev for Pages and not prod, and now it doesn't work in either. That's a pretty crummy DX and I think the Pages team is very aware of that._worker.js yourself if you need to do anything complex env.ASSETS: https://developers.cloudflare.com/pages/platform/functions/advanced-mode/_routes.json: https://developers.cloudflare.com/pages/platform/functions/routing/#creating-a-_routesjson-file2.6.2_worker.js_worker.jswrangler pages deployment tail --environment=previewscriptfailed to parse url---node_compat = trueenv.ASSETS_routes.json