Storybook: Serve msw worker from relative path (#107561)

This commit is contained in:
Josh Hunt authored and GitHub committed 2025-07-03 10:51:11 +01:00
1 parent f51db112d4
commit 9652f07e56
1 file changed
+3
@@ -51,6 +51,9 @@ if (process.env.NODE_ENV === 'development') {
*/
initialize({
onUnhandledRequest: 'bypass',
serviceWorker: {
url: 'mockServiceWorker.js',
},
});
const preview: Preview = {