1 |
|
2 |
|
3 | const safeThis = require('core-js-pure/features/global-this.js');
|
4 | const RefreshRuntime = require('react-refresh/runtime.js');
|
5 |
|
6 | if (process.env.NODE_ENV !== 'production') {
|
7 | if (typeof safeThis !== 'undefined') {
|
8 | var $RefreshInjected$ = '__reactRefreshInjected';
|
9 |
|
10 | if (typeof __react_refresh_library__ !== 'undefined' && __react_refresh_library__) {
|
11 | $RefreshInjected$ += '_' + __react_refresh_library__;
|
12 | }
|
13 |
|
14 |
|
15 | if (!safeThis[$RefreshInjected$]) {
|
16 |
|
17 | RefreshRuntime.injectIntoGlobalHook(safeThis);
|
18 |
|
19 |
|
20 | safeThis[$RefreshInjected$] = true;
|
21 | }
|
22 | }
|
23 | }
|