privateOmega/html-to-docx

XML error when using with Vite (React or Vue)

Opened this issue · 0 comments

Hi! This looks like a great library, but when importing it using Vite's HMR (whether under a Vue project, which is our default, or React), an XML error is thrown. Here's a reproducible minimal example:

https://github.com/ERMInc/html-to-docx-vite-example

Both building and using npm run dev HMR functionality is impacted.