Convert ServiceWorker to TypeScript

This commit is contained in:
Alex Gleason
2022-05-26 14:51:59 -04:00
parent 8d31554f0a
commit 5c49cc0b84
4 changed files with 88 additions and 44 deletions

View File

@ -84,7 +84,7 @@ module.exports = merge(sharedConfig, {
],
ServiceWorker: {
cacheName: 'soapbox',
entry: join(__dirname, '../app/soapbox/service_worker/entry.js'),
entry: join(__dirname, '../app/soapbox/service_worker/entry.ts'),
minify: true,
},
cacheMaps: [{