rename watchman to watch, and rename content to be part of background

This commit is contained in:
buzz-lightsnack-2007 2024-04-28 13:11:05 +08:00
parent 543a3d4e13
commit 43322a8208
4 changed files with 17 additions and 21 deletions

14
scripts/external/background.js vendored Normal file
View file

@ -0,0 +1,14 @@
/*
content.js
The content script
*/
// Import the necessary modules.
(async () => {
// Import the watchman module.
let watch = (await import(chrome.runtime.getURL("scripts/external/watch.js"))).default;
// Begin the job.
watch.main();
})()