rename watchman to watch, and rename content to be part of background
This commit is contained in:
parent
543a3d4e13
commit
43322a8208
4 changed files with 17 additions and 21 deletions
14
scripts/external/background.js
vendored
Normal file
14
scripts/external/background.js
vendored
Normal 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();
|
||||
})()
|
Loading…
Add table
Add a link
Reference in a new issue