-
-
Notifications
You must be signed in to change notification settings - Fork 32
Enable MSW in production builds #1475
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
Conversation
Co-Authored-By: Ryota Murakami <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
@devin Thx! |
Enable MSW in production builds
Resolves #1473
Changes
src/main.tsxto enable MSW in both development and production environmentsTesting
This change allows the app to work with mock API responses in production builds, making it easier to prototype and deploy applications with fetch logic to services like Vercel.
Link to Devin run: https://app.devin.ai/sessions/0e6e2c2a51884ff69ff5084335019240
Requested by: Ryota Murakami