A couple of hacks to keep the BGSW alive in a library
npm install @plasmohq/persistentThis library contains a couple of hacks to keep the BGSW alive for MV3 transitioning.
Usage in a background service worker:
``ts
import { keepAlive } from "@plasmohq/persistent/background"
keepAlive()
``