Service Workerのビルドにesbuildを使うようにする

This commit is contained in:
tamaina
2022-01-25 13:03:13 +00:00
parent 154e7c2e59
commit e8ca4785e8
9 changed files with 361 additions and 945 deletions

View File

@@ -104,11 +104,6 @@ router.get(`/sw.${config.version}.js`, async ctx => {
root: swAssets,
});
});
router.get(`/sw-lib.${config.version}.js`, async ctx => {
await send(ctx as any, `/sw-lib.js`, {
root: swAssets,
});
});
// Manifest
router.get('/manifest.json', require('./manifest'));