{"version":3,"file":"development.cjs","names":[],"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"],"mappings":";AAEA,SAAgB,wBAAwB,eAAgC;CACtE,IAAI;EACF,IAAA,QAAA,IAAA,aAA6B,cAAc,OAAO;CACpD,QAAQ;EACN,OAAO;CACT;CAEA,IAAI;EACF,OAAO,QAAQ,IAAI,mBAAmB;CACxC,QAAQ;EACN,OAAO;CACT;AACF"}