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
I have two scripts generated by Rsbuild: main page script and web worker script.
In order to launch web worker from the main page script, I have to know it's file name, but output file name includes content hash (and I don't want to disable it, because it would lead to caching problems), so I cannot just hardcode it.
I need somehow obtain generated file name of web worker script from another script built by Rsbuild.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have two scripts generated by Rsbuild: main page script and web worker script.
In order to launch web worker from the main page script, I have to know it's file name, but output file name includes content hash (and I don't want to disable it, because it would lead to caching problems), so I cannot just hardcode it.
I need somehow obtain generated file name of web worker script from another script built by Rsbuild.
Beta Was this translation helpful? Give feedback.
All reactions