You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
See if there is a reasonable resolution to eliminate this issue.
Alternatives
In this case, one alternative is to just switch to using domPurify
Additional context
Mention any other context or attach screenshots regarding the feature request.
Check the existing issue labels and add any you think are relevant, e.g., UI, UX, accessibility, security.
The problem to solve
Lots of console warnings are being logged since adding sanitize-html to a React application running with vite.
This is details about the warning we are seeing.
https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility
Here is an example what we see in console:

Proposed solution
See if there is a reasonable resolution to eliminate this issue.
Alternatives
In this case, one alternative is to just switch to using domPurify
Additional context