Closed arv closed 1 year ago
Use process.env.NODE_ENV instead of globalThis?.process?.env?.NODE_ENV. With the latter we do not get dead code elimination.
process.env.NODE_ENV
globalThis?.process?.env?.NODE_ENV
Use
process.env.NODE_ENV
instead ofglobalThis?.process?.env?.NODE_ENV
. With the latter we do not get dead code elimination.