Managing Background Processes
Inside the background folder is an index.ts
or index.js
file which serves as your single entry point for your extension's service worker or background script.
You can freely create other files in the background directory and use them or import them into the
index.ts
file.