mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
update build-sw.js
This commit is contained in:
1 parent
7e58717e07
commit
df375808d9
2 files changed
+1
-2
No files matched your search
@@ -3,7 +3,6 @@ const { generateSW } = require('workbox-build');
|
||||
generateSW({
|
||||
globDirectory: 'docs/',
|
||||
globPatterns: ['assets/**/*.{css,woff2,png,svg,jpg,js}'],
|
||||
maximumFileSizeToCacheInBytes: 1024 * 1024 * 5,
|
||||
swDest: 'docs/sw.js',
|
||||
sourcemap: false,
|
||||
}).then(({ count, size, warnings }) => {
|
||||
|
||||
Reference in new issue
Block a user