@myinterview/widget-react 1.0.37-beta-306a901 → 1.0.37-beta-13881bb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -21918,13 +21918,12 @@ const prod_config = {
21918
21918
 
21919
21919
  // eslint-disable-next-line import/no-mutable-exports
21920
21920
  const config$1 = (configEnv) => {
21921
- console.log('CONFIG', configEnv);
21922
- switch (configEnv) {
21921
+ switch (configEnv || (typeof process !== undefined && process.env.REACT_APP_ENV)) {
21922
+ case 'development':
21923
+ case 'dev':
21923
21924
  case 'local':
21924
21925
  return local_config;
21925
21926
  case 'staging':
21926
- case 'development':
21927
- case 'dev':
21928
21927
  return staging_config;
21929
21928
  default:
21930
21929
  return prod_config;