Skip to content

feat(web): add support for Webpack#186

Open
V3RON wants to merge 2 commits intomainfrom
feat/webpack-web
Open

feat(web): add support for Webpack#186
V3RON wants to merge 2 commits intomainfrom
feat/webpack-web

Conversation

@V3RON
Copy link
Contributor

@V3RON V3RON commented Mar 10, 2026

Description

Adds support for using Rozenite for Web when mobile is served by Metro and the web app is served by Webpack Dev Server.

With this change, developers can keep Metro as the source of React Native DevTools data while serving the browser app from Webpack, and still have the browser show up as a debug target in React Native DevTools. The setup now covers both websocket and HTTP dev-middleware endpoints, so the web debugging flow works in split Metro + Webpack environments.

Documentation was also updated to describe the new setup and configuration path.

Context

Rozenite for Web previously assumed Metro was serving both mobile and web. That left a gap for projects where Metro is used for mobile development but Webpack Dev Server is used for the web app.

This change closes that gap by making the split setup a supported user flow. The goal is to let developers adopt Rozenite for Web in mixed-bundler projects without changing their existing dev-server responsibilities.

Reviewers should primarily evaluate whether the user-facing setup is clear and whether the documented Metro + Webpack flow matches expected Rozenite for Web behavior.

Testing

  • Added automated tests covering the new Webpack configuration helper behavior.
  • Verified the @rozenite/web package with test, typecheck, lint, and build runs.
  • Confirmed the new setup proxies the full React Native dev-middleware surface needed for Rozenite for Web in split Metro + Webpack development.

@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rozenite Ready Ready Preview, Comment Mar 10, 2026 9:53am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant