@myinterview/widget-react 1.0.37-beta-60a1995 → 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 +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -21918,12 +21918,12 @@ const prod_config = {
|
|
|
21918
21918
|
|
|
21919
21919
|
// eslint-disable-next-line import/no-mutable-exports
|
|
21920
21920
|
const config$1 = (configEnv) => {
|
|
21921
|
-
switch (configEnv) {
|
|
21921
|
+
switch (configEnv || (typeof process !== undefined && process.env.REACT_APP_ENV)) {
|
|
21922
|
+
case 'development':
|
|
21923
|
+
case 'dev':
|
|
21922
21924
|
case 'local':
|
|
21923
21925
|
return local_config;
|
|
21924
21926
|
case 'staging':
|
|
21925
|
-
case 'development':
|
|
21926
|
-
case 'dev':
|
|
21927
21927
|
return staging_config;
|
|
21928
21928
|
default:
|
|
21929
21929
|
return prod_config;
|