Open shu16 opened 2 years ago
can you open a pull request?
Thanks for your reply. According to https://github.com/vitejs/vite/discussions/9149, I think this issue caused by xlsx and Vite. So maybe all I can do is notify people who are using this package with Vite. So I shouldn't have posted here. It's better to close the issue.
This package is not responsible for this issue.
When I clicked download button found message below. Module "fs" has been externalized for browser compatibility. Cannot access "fs.writeFileSync" in client code.
I found below. https://github.com/vitejs/vite/discussions/9149 then xlsx update to v0.18.5 but in vain.
FYI my workaround is: add follows to vite.config.ts