1
- import ' core-js/actual' ;
2
- import ResizeObserver from ' resize-observer-polyfill' ;
3
- import numbro from ' numbro' ;
4
- import Papa from ' papaparse' ;
5
- import * as uuid from ' uuid' ;
6
- import ' regenerator-runtime/runtime' ;
7
- import ' virtual:globals' ;
8
- import { debug } from ' loglevel' ;
9
- import { bootstrap } from ' ./app' ;
10
- import ' ./index.less' ;
11
- import log from ' loglevel' ;
12
- import ' antd-mobile/es/global' ;
1
+ import " core-js/actual" ;
2
+ import ResizeObserver from " resize-observer-polyfill" ;
3
+ import numbro from " numbro" ;
4
+ import Papa from " papaparse" ;
5
+ import * as uuid from " uuid" ;
6
+ import " regenerator-runtime/runtime" ;
7
+ import " virtual:globals" ;
8
+ import { debug } from " loglevel" ;
9
+ import { bootstrap } from " ./app" ;
10
+ import " ./index.less" ;
11
+ import log from " loglevel" ;
12
+ import " antd-mobile/es/global" ;
13
13
import 'animate.css' ;
14
14
15
15
window . numbro = numbro ;
@@ -23,7 +23,7 @@ if (!window.ResizeObserver) {
23
23
24
24
function hideLoading ( ) {
25
25
// hide loading
26
- const node = document . getElementById ( ' loading' ) ;
26
+ const node = document . getElementById ( " loading" ) ;
27
27
if ( node ) {
28
28
// @ts -ignore
29
29
node . style . opacity = 0 ;
@@ -35,7 +35,7 @@ debug(`REACT_APP_LANGUAGES:, ${REACT_APP_LANGUAGES}`);
35
35
debug ( `REACT_APP_API_HOST:, ${ REACT_APP_API_HOST } ` ) ;
36
36
debug ( `REACT_APP_ENV:, ${ REACT_APP_ENV } ` ) ;
37
37
debug ( `REACT_APP_LOG_LEVEL:, ${ REACT_APP_LOG_LEVEL } ` ) ;
38
-
38
+
39
39
try {
40
40
bootstrap ( ) ;
41
41
hideLoading ( ) ;
0 commit comments