Patch Changes
-
#8823
f566680
Thanks @dario-piotrowicz! - fix: replaceprocess.env.NODE_ENV
for nodejs_compat buildsmake sure that occurrences of
process.env.NODE_ENV
are replaced with the
currentprocess.env.NODE_ENV
value or"production"
on builds that include
thenodejs_compat
flag, this enables libraries checking such value
(e.g.react-dom
) to be properly treeshaken -
Updated dependencies [
afd93b9
,930ebb2
,09464a6
,62df08a
]:- miniflare@4.20250405.1
- wrangler@4.9.0
- @cloudflare/unenv-preset@2.3.1