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

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