Compare commits

...

2 commits

Author SHA1 Message Date
Timothy Z.
a75196214b
Merge 39ac3eb397 into 31a5cc6f1a 2026-03-07 07:44:52 -04:00
Timothy Z.
39ac3eb397 fix: webpack config upgrate cross origin requests 2026-02-23 17:00:09 +02:00

View file

@ -224,7 +224,21 @@ module.exports = (env, argv) => ({
new WorkboxPlugin.GenerateSW({
maximumFileSizeToCacheInBytes: 20000000,
clientsClaim: true,
skipWaiting: true
skipWaiting: true,
runtimeCaching: [
{
urlPattern: /^https:\/\/.*/,
handler: 'NetworkFirst',
options: {
cacheName: 'cross-origin-requests',
networkTimeoutSeconds: 10,
expiration: {
maxEntries: 200,
maxAgeSeconds: 60 * 60,
},
},
},
],
}),
new CopyWebpackPlugin({
patterns: [