-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate from MSW 1.3.2 → 2.0.0 #1122
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
🦋 Changeset detectedLatest commit: dde0f42 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
6285ddb
to
a7aee63
Compare
a7aee63
to
dde0f42
Compare
Coincidentally, MSW v2 was released the day we've merged all the tests to Vitest + MSW v1.
So here is part 2, v2. More details
The other changes were unfortunately necessary due to some dependency conflicts. My advice here: get rid of Webpack and Babel whenever possible. Switch to SWC in Next.js (not sure why Nxt.js keeps holding on to building with Webpack).