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
// use in projectexportconstlazyLoadDateHolidays=()=>{returnimport(/* webpackChunkName: "date-holidays"*//* webpackPrefetch: true */'date-holidays');};
break down in production build
Details
is it stable reproduce ? No, i can't provider a mini reproduce
webpack has some problem?No, only happen with rsbuild
maybe rspack need a better way to replace hash content in chunk, not global replace
please cc @chenjiahan btw, thanks for your quick answer in wechat. help me a lot
Yes, we have discussed this issue. Using a content hash of 10 characters or more should avoid this problem, but it will also increase the bundle size slightly.
If Rspack can implement a more secure hash replacement, that will be the best approach.
because it seems like it will take some time to really fix it(webpack too), but before that, we can reduce the probability of bugs happening(we was report by user in production env🥹)
System Info
rsbuild version: 1.0.19
break down in production build
Details
is it stable reproduce ? No, i can't provider a mini reproduce
webpack has some problem?No, only happen with rsbuild
maybe rspack need a better way to replace hash content in chunk, not global replace
please cc @chenjiahan btw, thanks for your quick answer in wechat. help me a lot
Reproduce link
No response
Reproduce Steps
source code was break down in
The text was updated successfully, but these errors were encountered: