html-to-docx icon indicating copy to clipboard operation
html-to-docx copied to clipboard

XML error when using with Vite (React or Vue)

Open richardtallent-erm opened this issue 1 year ago • 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.

richardtallent-erm avatar Nov 16 '23 14:11 richardtallent-erm