From 1e7493cdc727a4cb0609929c067a772d4e039195 Mon Sep 17 00:00:00 2001 From: Maria Grishchuk <67500028+marygrishchuk@users.noreply.github.com> Date: Sun, 1 May 2022 17:08:36 +0300 Subject: [PATCH] stop fetching manifest twice --- packages/trader/build/config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/trader/build/config.js b/packages/trader/build/config.js index bc266d6a99eb..15f6f4476f36 100644 --- a/packages/trader/build/config.js +++ b/packages/trader/build/config.js @@ -6,7 +6,14 @@ const { IS_RELEASE } = require('./constants'); const generateSWConfig = () => ({ importWorkboxFrom: 'local', cleanupOutdatedCaches: true, - exclude: [/CNAME$/, /index\.html$/, /404\.html$/, /^public\/images\/favicons\//, /^favicon\.ico$/], + exclude: [ + /CNAME$/, + /index\.html$/, + /404\.html$/, + /manifest\.json$/, + /^public\/images\/favicons\//, + /^favicon\.ico$/, + ], skipWaiting: true, clientsClaim: true, });