fix glob patterns

This commit is contained in:
Zhang Minghan 2023-10-25 22:20:28 +08:00
parent 3182989ef4
commit 65eb601d84
2 changed files with 1 additions and 1 deletions

View File

@ -417,4 +417,5 @@
text-align: center;
font-size: 14px;
color: hsl(var(--text-secondary));
transform: translateY(4px);
}

View File

@ -33,7 +33,6 @@ export default defineConfig({
globPatterns: [
// except for sw.js, which is precached by workbox itself
'**/*.{js,css,html,png,svg,ico,webp}',
'!sw.js',
],
globDirectory: 'dist',
swDest: 'dist/sw.js',