Skip to content

[Request] Example configuration for react-native-web support #55

Description

@migueldaipre

Description

Hi! I've been following the development of Rollipop and I'm very impressed with the performance gains brought by Rolldown to the React Native ecosystem.

Currently, the documentation and examples focus primarily on Android and iOS. I would like to request a short configuration example or a dedicated guide on how to use Rollipop to build for the Web using react-native-web.

Specifics requested:

  1. How to set up aliases (e.g., mapping react-native to react-native-web).
  2. Handling platform-specific extensions like .web.js, .web.ts, and .web.tsx.
  3. Defining global variables required for the web environment (like DEV).
  4. A basic setup for an HTML entry point to serve the web bundle.

Having a "Universal" example would greatly help developers looking to migrate from Metro or Webpack to a faster, Rolldown-based workflow.

Thanks for this amazing project!

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions