rspack
rspack copied to clipboard
[Feature]: I want to use chunk-rename-webpack-plugin, which relies on optimizeChunks that is not supported
What problem does this feature solve?
I want to use chunk-rename-webpack-plugin, which relies on optimizeChunks that is not supported. Are there any other hooks that can be used as a replacement https://github.com/sueddeutsche/chunk-rename-webpack-plugin/blob/master/lib/index.js#L38C35-L38C49
What does the proposed API of configuration look like?
optimizeChunks https://github.com/sueddeutsche/chunk-rename-webpack-plugin/blob/master/lib/index.js#L38C35-L38C49 or any other alternative APIs?
OptimizeChunks hook in webpack allows modification of chunk graph, which is not supposed to work in Rspack at present, so any modification to chunk is not allowed.
But you can tell me your needs, maybe there is another way like changing the output.filename or splitChunks configuration ?
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!