I'm still kind of newish to web dev so by dependency management you mean like what goes in regular d
I'm still kind of newish to web dev so by dependency management you mean like what goes in regular dependencies vs devDependencies right?
[Object object] response instead of doing the SSE thing.fetch handler.fetch handler generated internally by Pages.crypto in my vite.ssr.externals, then it doesn't error on build but then says the export is missing when I try to use it.MiniflareCoreError [ERR_FUTURE_COMPATIBILITY_DATE]: Compatibility date "2024-09-23" is in the future and unsupported when running 'npx wrangler pages dev ./dist --compatibility-date=2024-09-23'nodejs_compat_V2nodejs_compat flag
npm run preview and I try to hit that endpoint using the server URL I just get a 404 error. Where am I going wrong here? total timing from the Worker is 284 ms while Waiting for server response from the DevTools is at 885 ms—more than 3 times slower.total:
[commonjs--resolver] [plugin vite:resolve] Cannot bundle Node.js built-in "util" imported from "../node_modules/knex/lib/dialects/sqlite3/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.export async function onRequest(
context: EventContext<unknown, string, unknown>,
) {
const start = performance.now()
const response = await createPagesFunctionHandler({ build, getLoadContext })(
context,
)
const end = performance.now()
response.headers.append("Server-Timing", `total;dur=${end - start}`)
return response
}