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 to workerPublicPath, but only for the worker chunk's filename, such as workerChunkFilename.
During the aforementioned discussion, @alexander-akait suggested identifying worker chunks by checking if chunkLoading === 'import-scripts' in pathData?.chunk?._groups within the chunkFilename function. However, this approach is considered hacky and not very robust.
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
chunkFilenameis 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?._groupswithin thechunkFilenamefunction. However, this approach is considered hacky and not very robust.