Closed Secretmapper closed 3 years ago
Removing server side rendering support (ie, removing global
variable, IS_BROWSER else) makes msw work.
Probably because Storybook for vite doesn't use babel(?) and so preset-env doesn't get loaded
Where did you remove SSR support to make this work?
This should be resolved in #41. Please wait for the next add-on release. Thank you.
Whenever using msw-storybook-addon, I get a global is not defined error.
The fact that I'm using Storybook for Vite might be related