jantimon / jantimon/resource-hints-webpack-plugin

Support for html-webpack-plugin 4

Open
#15 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
100
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Though not released yet, html-webpack-plugin 4.0.0 beta is helpful for dealing with some performance issues.

`resource-hints-webpack-plugin` silently does nothing when 4.0.0 beta is in use.

It looks like something like https://github.com/GoogleChromeLabs/preload-webpack-plugin/blob/d007cf61e575f20670d615f0cea3dc59213d2c14/src/index.js#L113-L119 is necessary to make it work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked preload-webpack-plugin implementation at src/index.js lines 113-119, then inspect how resource-hints-webpack-plugin integrates with html-webpack-plugin. Done means resource hints are emitted when html-webpack-plugin 4.0.0 beta is used instead of the plugin silently doing nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.