Wendell Misiedjan

Results 45 comments of Wendell Misiedjan

Looking forward to seeing this updated again!

Same issue here with the latest next routes

@balazsorban44 I think a condition that favors [Web-interoperable Runtimes (WinterCG)](https://wintercg.org/) might even be better, since Vercel, Cloudflare and Deno are also a part of that.

@Andarist would it be worth seeing/testing what the bundle size/performance impact would be to keep these checks in place for e.g. `document` / `window` availability within the browser bundle? Other...

Here's an example of a custom webpack configuration / next.config.js that actually made this work in some sense, we add resolve conditionName `worker` and some defaults if they don't exist...

> Thanks, @Andarist for the update! Currently, we are picking the `browser` field to target the runtime, but there is a discussion on our side to maybe favor a special...

I just would like to say that I'd love to see this working! There are other platforms based on Web API Standards, like Cloudflare Workers and Deno, that could benefit...

This is probably related to this: https://github.com/emotion-js/emotion/issues/2777

@srmagura that's amazing, the Next.js Edge Runtime is actually confirmed to be built on Cloudflare Workers (at this time). So both should work here.

I've quickly tested this with the latest version of Emotion (#2589), since the _worker_ runtime should have the same APIs as the Edge Runtime of Verce / Next.js. I've created...