Commit 8a6c551 1 parent f02aa59 commit 8a6c551 Copy full SHA for 8a6c551
File tree 1 file changed +4
-0
lines changed
packages/connect/src/data
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import { config } from './config';
8
8
9
9
import { ConnectSettings , DeviceModelInternal } from '../types' ;
10
10
11
+ // TODO(karliatto): look at packages/connect/src/utils/assetUtils.ts !!!
12
+ // We require all the files to include them in the core.js bundle for web,
13
+ // if we do not include them in the bundle we would have to handle relative paths.
11
14
require ( '@trezor/connect-common/files/coins.json' ) ;
12
15
require ( '@trezor/connect-common/files/coins-eth.json' ) ;
13
16
require ( '@trezor/connect-common/files/bridge/releases.json' ) ;
@@ -17,6 +20,7 @@ require('@trezor/connect-common/files/firmware/t2b1/releases.json');
17
20
require ( '@trezor/connect-common/files/firmware/t3b1/releases.json' ) ;
18
21
require ( '@trezor/connect-common/files/firmware/t3t1/releases.json' ) ;
19
22
require ( '@trezor/connect-common/files/firmware/t3w1/releases.json' ) ;
23
+ require ( '@trezor/protobuf/messages.json' ) ;
20
24
21
25
import coins from '@trezor/connect-common/files/coins.json' ;
22
26
import coinsEth from '@trezor/connect-common/files/coins-eth.json' ;
You can’t perform that action at this time.
0 commit comments