jantimon / jantimon/resource-hints-webpack-plugin
Prefetch other bundles
- Dominant language
- JavaScript
- Stars
- 100
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Hey, I have the following use case, that I can't seem to get to work with your plugin:
- I have Page A with bundle/chunk X and Y
- I want to add a `prefetch` link on Page A for bundle Z since I'm going to need that on Page B
I have tried just using bundle names in the prefetch array, but that just adds a text string 'Z'.
Is this possible?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading how the plugin handles the prefetch array and resolves bundle names. Confirm how bundles X, Y, and Z are represented in the generated HTML, then determine what behavior would make Z available from Page A for use on Page B. The issue names no files or tests, so the project entry points must be located first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100