-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a new option for workers chunks' filenames #17002
Comments
So my understanding is that the |
@TheLarkInn No, it only set public path for workers, but sometimes you need another location for workers than |
This issue had no activity for at least three months. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
Feature request
The source of this feature request is this discussion. The aim is to specify the filename for worker chunks only. Currently, there is no straightforward way to determine whether the chunk being processed in
chunkFilename
is a worker. Therefore, the request is for an option similar toworkerPublicPath
, but only for the worker chunk's filename, such asworkerChunkFilename
.During the aforementioned discussion, @alexander-akait suggested identifying worker chunks by checking if
chunkLoading === 'import-scripts'
inpathData?.chunk?._groups
within thechunkFilename
function. However, this approach is considered hacky and not very robust.The text was updated successfully, but these errors were encountered: