commonInitialization.tsx 381 B

12345678910111213
  1. import 'focus-visible';
  2. import {NODE_ENV} from 'sentry/constants';
  3. import ConfigStore from 'sentry/stores/configStore';
  4. import {Config} from 'sentry/types';
  5. export function commonInitialization(config: Config) {
  6. if (NODE_ENV === 'development') {
  7. import(/* webpackMode: "eager" */ 'sentry/utils/silence-react-unsafe-warnings');
  8. }
  9. ConfigStore.loadInitialData(config);
  10. }