We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46664ce commit 1ea869dCopy full SHA for 1ea869d
package.json
@@ -20,10 +20,12 @@
20
"classnames": "^2.5.1",
21
"lodash": "^4.17.21",
22
"lucid-cardano": "^0.10.7",
23
+ "node-fetch-polyfill": "^2.0.6",
24
"react": "^18.3.1",
25
"react-dom": "^18.3.1",
26
"react-icons": "^5.3.0",
27
"use-clipboard-copy": "^0.2.0",
28
+ "rollup-plugin-node-polyfills": "^0.2.1",
29
"use-custom-compare": "^1.4.0",
30
"usehooks-ts": "^3.1.0"
31
},
vite.config.ts
@@ -23,4 +23,10 @@ export default defineConfig({
process.env.PERSISTENT_SESSION,
),
+ resolve: {
+ alias: {
+ 'node-fetch': 'node-fetch-polyfill',
+ buffer: 'rollup-plugin-node-polyfills/polyfills/buffer-es6',
+ },
32
});
0 commit comments