You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in × HTML parsing error: Invalid first character of tag name
╭─[90:1]
90 │
91 │ <!--These are the script tags directly from the webpack build-->
92 │ <%= htmlWebpackPlugin.tags.headTags %>
· ─
93 │ <!--End of script tags directly from webpack build-->
94 │
╰────
Reproduce link
No response
Reproduce Steps
create a html template and try to use it.
The text was updated successfully, but these errors were encountered:
The features of rspack.HtmlRspackPlugin are a subset of html-webpack-plugin.
rspack.HtmlRspackPlugin does not inject the htmlWebpackPlugin.tags.headTags variable to template, if your current project depend on this, you can use html-webpack-plugin instead.
System Info
Details
Using the bundled Rspack html plugin with a custom template script tags cannot be injected.
Rspack config
Html template
Error Message
Reproduce link
No response
Reproduce Steps
create a html template and try to use it.
The text was updated successfully, but these errors were encountered: