I want to add hash string after the name of image when I build the bundle, How can I do it?
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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