fix(build): 🐛 Fix happy-dom

This commit is contained in:
Jesse Wierzbinski 2024-05-02 15:29:36 -10:00
parent 4f0db2dfba
commit a430db5c30
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
import { config } from "config-manager";
import DOMPurify from "dompurify";
import { Window } from "happy-dom";
import { GlobalWindow } from "happy-dom";
const window = new Window();
const window = new GlobalWindow();
export const sanitizeHtml = async (
html: string,