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
Long time no see! Hello team.
After upgrading from @rsbuild/core@1.0.19 to @rsbuild/core@1.2.2 our build process started creating duplicate SVGs with the same content but different contenthash. By trying different versions, I was able to pinpoint that the issue was introduced in @rsbuild/core@1.1.0.
Our SVG output in @rsbuild/core@1.0.19:
Our SVG output in @rsbuild/core@1.1.0 (notice multiple app.v0.Activity.[HASH].svg, etc.):
See for example the duplicate app.v0.Activity.[HASH].svg. In both cases, the content is identical:
We tried updating the various plugins, manually changing various setting (like the contenthash setting it to [contenthash:16] for example), and more, but with no success.
Both SVGs are used across generated JS files.
Stripped down version of the config that still has the issue:
It's hard for us to identify what's causing it, so we don't have a minimal reproduction yet. Any idea on what might be triggering this or that has been introduced that could cause this? Happy to create a repro if I can find a way to isolate the issue. Thanks!
The text was updated successfully, but these errors were encountered:
Just tried again, but I'm not able to create a minimal repro :/ Will try to slim down our app as much as possible to see if I can get closer to the issue.
Version
Details
Long time no see! Hello team.
After upgrading from
@rsbuild/core@1.0.19
to@rsbuild/core@1.2.2
our build process started creating duplicate SVGs with the same content but different contenthash. By trying different versions, I was able to pinpoint that the issue was introduced in@rsbuild/core@1.1.0
.Our SVG output in
@rsbuild/core@1.0.19
:Our SVG output in
@rsbuild/core@1.1.0
(notice multipleapp.v0.Activity.[HASH].svg
, etc.):See for example the duplicate
app.v0.Activity.[HASH].svg
. In both cases, the content is identical:Verified via CLI:
We tried updating the various plugins, manually changing various setting (like the contenthash setting it to
[contenthash:16]
for example), and more, but with no success.Both SVGs are used across generated JS files.
Stripped down version of the config that still has the issue:
Reproduce link
No repro (yet)
Reproduce Steps
It's hard for us to identify what's causing it, so we don't have a minimal reproduction yet. Any idea on what might be triggering this or that has been introduced that could cause this? Happy to create a repro if I can find a way to isolate the issue. Thanks!
The text was updated successfully, but these errors were encountered: