I am in the middle of migrating manifest V2 to V3 and am currently stuck at converting background to a service worker.
V2:
manifest.json
"background": {
"page" : "background.html"
}
background.html
<html>
<head>
<script src="scripts/aws4.js"></script>
<script src="scripts/md5.js"></script>
<script src="scripts/moment.js"></script>
<script src="scripts/background.js"></script>
<script src="scripts/oauth.js"></script>
</head>
<body>
</body>
</html>
My question is, how could I convert this to a service worker in V3? How can I include all those local libraries in V3 without calling background.html?