Don't sync service worker and index.json to client on silverbullet.md

pull/503/head
Zef Hemel 2023-07-31 21:06:08 +02:00
parent 6929a7beb5
commit 9d5f4300bc
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ for await (
const file of walk(rootDir, {
includeDirs: false,
// Exclude hidden files
skip: [/^.*\/(\..+|_redirects|_headers|_client\/.*)$/],
skip: [
/^.*\/(\..+|_redirects|_headers|service_worker\.js.*|index\.json|_client\/.*)$/,
],
})
) {
const fullPath = file.path;