File tree Expand file tree Collapse file tree 3 files changed +441
-353
lines changed Expand file tree Collapse file tree 3 files changed +441
-353
lines changed Original file line number Diff line number Diff line change 20
20
"classnames" : " ^2.5.1" ,
21
21
"lodash" : " ^4.17.21" ,
22
22
"lucid-cardano" : " ^0.10.7" ,
23
+ "node-fetch-polyfill" : " ^2.0.6" ,
23
24
"react" : " ^18.3.1" ,
24
25
"react-dom" : " ^18.3.1" ,
25
26
"react-icons" : " ^5.3.0" ,
27
+ "rollup-plugin-node-polyfills" : " ^0.2.1" ,
26
28
"use-custom-compare" : " ^1.4.0" ,
27
29
"usehooks-ts" : " ^3.1.0"
28
30
},
Original file line number Diff line number Diff line change @@ -20,5 +20,11 @@ export default defineConfig({
20
20
'import.meta.env.REGION' : JSON . stringify ( process . env . REGION ) ,
21
21
'import.meta.env.CABINET_KEY' : JSON . stringify ( process . env . CABINET_KEY ) ,
22
22
'import.meta.env.PERSISTENT_SESSION' : JSON . stringify ( process . env . PERSISTENT_SESSION ) ,
23
- }
23
+ } ,
24
+ resolve : {
25
+ alias : {
26
+ 'node-fetch' : 'node-fetch-polyfill' ,
27
+ buffer : 'rollup-plugin-node-polyfills/polyfills/buffer-es6' ,
28
+ } ,
29
+ } ,
24
30
} ) ;
You can’t perform that action at this time.
0 commit comments