Open crimson-med opened 3 months ago
We are using federation and having an issue on how the code gets transpiled for the MFE.
We do have a working repo with the issue:
https://github.com/paloitsingapore/spreadjs-vite
x Build failed in 43.58s error during build: [vite-plugin-top-level-await] Failed to convert rust `String` into napi `string` Error: Failed to convert rust `String` into napi `string` Warning: command "vite build" exited with non-zero status code
I also encountered the same problem. It was normal in dev, but this error occurred during build. I haven't found a solution yet.
Seems an SWC issue?
We are using federation and having an issue on how the code gets transpiled for the MFE.
We do have a working repo with the issue:
https://github.com/paloitsingapore/spreadjs-vite