{"version":3,"file":"development.cjs","sources":["../../src/development.ts"],"sourcesContent":["// Bundlers inline `process.env.NODE_ENV` even where `process` does not exist,\n// so it is read directly; without either, warnings stay off.\nexport function shouldWarnInDevelopment(disableEnvVar: string): boolean {\n  try {\n    if (process.env.NODE_ENV === `production`) return false\n  } catch {\n    return false\n  }\n  // A page may supply a `process` shim without `env`; nothing disabled it.\n  try {\n    return process.env[disableEnvVar] !== `1`\n  } catch {\n    return true\n  }\n}\n"],"names":[],"mappings":";;AAEO,SAAS,wBAAwB,eAAgC;AACtE,MAAI;AACF,QAAI,QAAQ,IAAI,aAAa,aAAc,QAAO;AAAA,EACpD,QAAQ;AACN,WAAO;AAAA,EACT;AAEA,MAAI;AACF,WAAO,QAAQ,IAAI,aAAa,MAAM;AAAA,EACxC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;;"}