From 0f4d36938fd0d844f548aa5a7f7e7842df8dfb41 Mon Sep 17 00:00:00 2001 From: Darius Jahandarie Date: Wed, 8 Nov 2023 03:11:35 +0900 Subject: Switch to vitest for ESM support; other fixes --- ext/js/app/content-script-wrapper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/js/app') diff --git a/ext/js/app/content-script-wrapper.js b/ext/js/app/content-script-wrapper.js index ac921c19..795d3d8b 100644 --- a/ext/js/app/content-script-wrapper.js +++ b/ext/js/app/content-script-wrapper.js @@ -19,6 +19,5 @@ (async () => { const src = chrome.runtime.getURL('js/app/content-script-main.js'); // eslint-disable-next-line no-unsanitized/method - const contentMain = await import(src); - contentMain.main(); + await import(src); })(); -- cgit v1.2.3