react / react/metro

I want to add hash string after the name of image when I build the bundle, How can I do it?

Open
#185 1 comment 0 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

I want to add hash string after the name of image when I build the bundle, How can I do it?
I show the option of building method and found a option like that assetPlugins, but I do not know how to deploy it

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 with Metro's assetPlugins build option and the image bundling path described in the issue. Determine how the option can produce hashed image names and how that output is deployed; the work is done when built image filenames include the hash and the resulting bundle remains deployable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.