diff --git a/src/components/data-table/sort_filter_worker.ts b/src/components/data-table/sort_filter_worker.ts index 8fcb9cc3ae..e2e3b859f4 100644 --- a/src/components/data-table/sort_filter_worker.ts +++ b/src/components/data-table/sort_filter_worker.ts @@ -1,6 +1,6 @@ // To use comlink under ES5 -import { expose } from "comlink"; import "proxy-polyfill"; +import { expose } from "comlink"; import type { ClonedDataTableColumnData, DataTableRowData, diff --git a/src/resources/markdown_worker.ts b/src/resources/markdown_worker.ts index 95c3f6cd07..bc653a0587 100644 --- a/src/resources/markdown_worker.ts +++ b/src/resources/markdown_worker.ts @@ -1,7 +1,7 @@ // To use comlink under ES5 +import "proxy-polyfill"; import { expose } from "comlink"; import { marked } from "marked"; -import "proxy-polyfill"; import { filterXSS, getDefaultWhiteList, IWhiteList } from "xss"; let whiteListNormal: IWhiteList | undefined;