Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFC] feat: native HTML file support as webpack entry points#20740

Closed
Arnav2106 wants to merge 1 commit into
webpack:mainfrom
Arnav2106:feat/html-entry-plugin
Closed

[RFC] feat: native HTML file support as webpack entry points#20740
Arnav2106 wants to merge 1 commit into
webpack:mainfrom
Arnav2106:feat/html-entry-plugin

Conversation

@Arnav2106
Copy link
Copy Markdown

@Arnav2106 Arnav2106 commented Mar 30, 2026

What this is

RFC scaffold submitted as part of my GSoC 2026 proposal for the "Entry Points as HTML" idea. Introduces the skeleton of HtmlEntryPlugin — first of four planned components.

Planned architecture

  • HtmlEntryPlugin — hooks compiler.hooks.make, registers HTML entries
  • HtmlModuleFactory — resolves .htmlHtmlModule
  • HtmlParser — parse5-based DOM walker emitting ScriptSrcDependency, LinkHrefDependency, ImgSrcDependency
  • HtmlGenerator — rewrites asset URLs in emitted HTML

Current state

Skeleton only. HtmlDependency and HtmlModuleFactory are next steps pending mentor feedback on the module factory approach.

##Comment on issue #536
Hi — I'm working on a GSoC 2026 proposal for this feature. I've studied
the EntryPlugin → NormalModuleFactory → Compilation.addEntry() pipeline
and designed a 4-component architecture: HtmlEntryPlugin, HtmlModuleFactory,
HtmlParser (parse5), and HtmlGenerator.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 30, 2026

⚠️ No Changeset found

Latest commit: d146479

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants