This commit is contained in:
2023-08-28 15:07:59 +01:00
parent 9bbbd513c2
commit b5033798c4
21 changed files with 427 additions and 103 deletions

View File

@ -62,9 +62,11 @@ const config = {
__XXX: process.env["__XXX"] || JSON.stringify(false),
__XXX_HOST: JSON.stringify("https://xxzap.com"),
}),
new WorkboxPlugin.InjectManifest({
swSrc: "./src/service-worker.ts",
}),
isProduction
? new WorkboxPlugin.InjectManifest({
swSrc: "./src/service-worker.ts",
})
: false,
],
module: {
rules: [