[Bug]: html-rspack-plugin
child compilation fail when used with case-sensitive-paths-webpack-plugin
#7193
Labels
bug
Something isn't working
Version
Details
Hi! In
@rsbuild/core@1.0.1-beta.2
the Webpack plugincase-sensitive-paths-webpack-plugin
(that it's part of the list of "compatible" plugins -- https://www.rspack.dev/guide/compatibility/examples) doesn't work ifhtml.template
is being set in the rsbuild config. Everything was working fine in1.0.1-beta.1
.The issue seems to happen only when
html.template
. If it's not set, the build works fine. I'm not sure if the issue is happening because ofcase-sensitive-paths-webpack-plugin
specifically or because of some new issues withing the plugin system interop.I'm attaching a minimal repo (boostrapped by running
npm create rsbuild@latest
, addingcase-sensitive-paths-webpack-plugin
, and adding ahtml.template
.Output:
Reproduce link
https://github.com/matteom-synth/rsbuild-issue-repro-1
Reproduce Steps
pnpm i
pnpm dev
The text was updated successfully, but these errors were encountered: