Service Workerのビルドにesbuildを使うようにする
This commit is contained in:
parent
154e7c2e59
commit
e8ca4785e8
9 changed files with 361 additions and 945 deletions
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue