ca29537bbc
Generalized the background logic so it can be reused with mulitple entrypoint types
10 lines
190 B
TypeScript
10 lines
190 B
TypeScript
import definition from '{{moduleId}}';
|
|
|
|
(async () => {
|
|
try {
|
|
await definition.main();
|
|
} catch (err) {
|
|
console.error('The content script crashed on startup!\n\n', err);
|
|
}
|
|
})();
|