react / react/metro

multiple react-native bundles

Open
#664 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.6k
Forks
696
Avg merge
8m
Merged PRs (30d)
7

Description

Metro bundler by default creates single bundle i.e index.android.bundle for android, I want to create multiple bundles
like base.android.bundle, business1.android.bundle, business2.android.bundle, business3.android.bundle and so on.

Is there any way to do it. Any documentation/pointers around this would be very helpful

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Metro's bundling documentation and the relevant bundler entry points to determine whether multiple React Native bundles are supported. Done would be either documented guidance for producing base and business-specific bundles or a clear statement of the limitation and available pointers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.