solana/web3.js-experimental/src/env-shim.ts

3 lines
185 B
TypeScript

// Clever obfuscation to prevent the build system from inlining the value of `NODE_ENV`
export const __DEV__ = /* @__PURE__ */ (() => process['en' + 'v'].NODE_ENV === 'development')();