🐛 BUG: wrangler doesn't inject unenv polyfills with nodejs_compat
enabled and compat_date
>= 2024-09-23
#6821
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.78.8
What version of Node are you using?
22
What operating system and version are you using?
Mac
Describe the Bug
Observed behavior
No hybrid nodejs_compat layer unless I explicitly turn on
nodejs_compat_v2
which should be unnecessary with compat date >= 2024-09-23.Expected behavior
nodejs_compat
+ >=2024-09-23 ==> new goodness :)Steps to reproduce
wrangler.toml:
src/index.ts:
Workaround
use
nodejs_compat_v2
runtime flag instead ofnodejs_compat
.Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: