From cc5613ee99871a919f894b02bb1a04bd5e7a53b6 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 12 Jul 2024 11:52:48 +0200 Subject: [PATCH] add more passthrough urls --- packages/msw-addon/src/augmentInitializeOptions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/msw-addon/src/augmentInitializeOptions.ts b/packages/msw-addon/src/augmentInitializeOptions.ts index 41e4542..5a0e8a6 100644 --- a/packages/msw-addon/src/augmentInitializeOptions.ts +++ b/packages/msw-addon/src/augmentInitializeOptions.ts @@ -7,7 +7,10 @@ const filteredURLSubstrings = [ 'node-modules', 'hot-update.json', '__webpack_hmr', + 'iframe.html', 'sb-vite', + '@vite', + '@react-refresh', '/virtual:', '.stories.', '.mdx',