mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-17 19:19:47 +00:00
SW bits that make it good enough for now
This commit is contained in:
@@ -59,7 +59,7 @@ export default function serviceWorkerPlugin({
|
||||
const version = versionHash.digest('hex');
|
||||
|
||||
swChunk.code =
|
||||
`const ASSETS = ${JSON.stringify(urls)};\n` +
|
||||
`const ASSETS = ${JSON.stringify(urls, null, ' ')};\n` +
|
||||
`const VERSION = ${JSON.stringify(version)};\n` +
|
||||
swChunk.code;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user