Service Workerのビルドにesbuildを使うようにする
This commit is contained in:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user