Skip to content

feat: injection of custom root element for react/vue/angular#1637

Open
robertmain wants to merge 4 commits into
jantimon:mainfrom
robertmain:add-root-element-support
Open

feat: injection of custom root element for react/vue/angular#1637
robertmain wants to merge 4 commits into
jantimon:mainfrom
robertmain:add-root-element-support

Conversation

@robertmain

@robertmain robertmain commented Apr 17, 2021

Copy link
Copy Markdown

I was previously using this plugin to inject a custom div root element into the generated HTML page.

However, that plugin has not been maintained for several years and no longer works with Webpack 5. I know many others have wished for root element support in the issues, so the time felt right to stick a PR in to implement that.

It is possible to supply a template to the arguments either by string literal, or by location of an HTML file, however that can be a little cumbersome as you then have to keep the HTML file in your repo, when really it doesn't actually need to be at all.

Reviews/comments/thoughts/suggestions welcome.

@stale

stale Bot commented Apr 16, 2022

Copy link
Copy Markdown

This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days.

@stale stale Bot added the wontfix label Apr 16, 2022
@robertmain

Copy link
Copy Markdown
Author

Bump. @jantimon

@stale stale Bot removed the wontfix label Apr 21, 2022
@stale

stale Bot commented Jan 2, 2026

Copy link
Copy Markdown

This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days.

@stale stale Bot added the wontfix label Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant