[BUG] importScripts error when integrating third-party libraries(rainbowkit) #1110
Open
2 of 3 tasks
Labels
bug
Something isn't working
What happened?
Wants to integrate rainbowkit with the Plasmo plugin, but the svg file in the rainbowkit component is import like this:
const src = async () => (await import('./assets.svg')).default;
as Plasmo ships with its own code/asset bundler tailored specifically, the svg resources in the rainbowkit component cannot be displayed. Because of dynamic import, rainbowkit cannot fetchTranslations internally, is there any solution to help me.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: