|
@@ -29,6 +29,8 @@ import plugins from 'app/plugins';
|
|
|
import routes from 'app/routes';
|
|
|
import {normalizeTransactionName} from 'app/utils/apm';
|
|
|
|
|
|
+import {setupFavicon} from './favicon';
|
|
|
+
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
import(
|
|
|
/* webpackChunkName: "SilenceReactUnsafeWarnings" */ /* webpackMode: "eager" */ 'app/utils/silence-react-unsafe-warnings'
|
|
@@ -139,6 +141,10 @@ const render = (Component: React.ComponentType) => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+if (process.env.NODE_ENV === 'production') {
|
|
|
+ setupFavicon();
|
|
|
+}
|
|
|
+
|
|
|
// The password strength component is very heavyweight as it includes the
|
|
|
// zxcvbn, a relatively byte-heavy password strength estimation library. Load
|
|
|
// it on demand.
|