diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-08 03:11:35 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-08 03:23:17 +0900 |
commit | 0f4d36938fd0d844f548aa5a7f7e7842df8dfb41 (patch) | |
tree | 5b6be3620a557d0b9177047003f6d742d9d2a32d /ext/js/app/content-script-wrapper.js | |
parent | ef79eab44bfd000792c610b968b5ceefd41e76a0 (diff) |
Switch to vitest for ESM support; other fixes
Diffstat (limited to 'ext/js/app/content-script-wrapper.js')
-rw-r--r-- | ext/js/app/content-script-wrapper.js | 3 |
1 files changed, 1 insertions, 2 deletions
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); })(); |