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
Html Webpack Plugin:
Error: [html-rspack-plugin]: [html-rspack-plugin]: × Module parse failed:
╰─▶ × JavaScript parsing error: Expression expected
╭────
1 │ = this;
· ─
╰────
help:
File was processed with these loaders:
* builtin:swc-loader??ruleSet[1].rules[3].use[0]
You may need an additional loader to handle the result of these loaders.
I don't know where I'm going wrong here. I've not configured any HTML plugin and I can't find any issues regarding this problem.
I'm totally new to rsbuild/rspack/swc, so please point me in the right direction if this is the wrong place for this issue.
Version
Details
All I did was using
npm create rsbuild@latest
and then tried to get styled-jsx withresolve
to work. (Sass is a bonus here.)Without any extra configuration, I run into this obvious error:
After digging into the documentation, I've added this to the configuration:
As documented here and then here.
But that gives me this error:
I don't know where I'm going wrong here. I've not configured any HTML plugin and I can't find any issues regarding this problem.
I'm totally new to rsbuild/rspack/swc, so please point me in the right direction if this is the wrong place for this issue.
Reproduce link
https://github.com/uncaught/rsbuild-test
Reproduce Steps
The text was updated successfully, but these errors were encountered: