From 9d5f4300bc40ae426b2e809ae9bc8411e48bcf9e Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 31 Jul 2023 21:06:08 +0200 Subject: [PATCH] Don't sync service worker and index.json to client on silverbullet.md --- scripts/generate_fs_list.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/generate_fs_list.ts b/scripts/generate_fs_list.ts index 86fd7b18..93d0dc04 100644 --- a/scripts/generate_fs_list.ts +++ b/scripts/generate_fs_list.ts @@ -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;