Skip to content

Commit

Permalink
revert content-script-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Casheeew committed Dec 27, 2023
1 parent 449ddad commit 6653391
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ext/js/app/content-script-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/** Entry point. */
async function main() {
(async () => {
const src = chrome.runtime.getURL('js/app/content-script-main.js');
// eslint-disable-next-line no-unsanitized/method
await import(src);
}

await main();

// Empty export to enable top-level await
export {};
})();

0 comments on commit 6653391

Please sign in to comment.