JavascriptModulesPlugin
Handles the bundling of JavaScript, usually used to access the hooks of the JavascriptModulesPlugin:
Examples
rspack.config.mjs
Static methods
getChunkFilenameTemplate
Returns the filename template that is used to render the JavaScript file of the given chunk, resolved in this order:
chunk.filenameTemplate, if the chunk carries its own template (for example a chunk produced by asplitChunkscache group withfilenameset).output.filename, if the chunk can be initial.output.chunkFilenameotherwise.
Difference from webpack
Hot update chunks are not currently supported because they are not yet exposed to the JavaScript side.

