Open rafinskipg opened 1 year ago
i use vite too and get an error with fonts.css
i fixed it using this:
resolve: {
alias: {
"~@fontsource/ibm-plex-mono": "@fontsource/ibm-plex-mono",
"~@fontsource/inter": "@fontsource/inter",
},
},
We are using vite in our monorepo and tried bringing in the uniswap widget, without luck.
There's no clear information on how to compile this widget with Vite and it would be helpful.
Thanks