This happens at least in the following scenario:
Using custom renderer with react-loadable, the generated output filename is picked from one the splitted chunks when webpack encounters first dynamic import from loadable component defined in react-router.
Fix for this is to use the defined output filename (output_file_name + 'js') instead of relying on the [name] here:
|
configuration.output.filename = '[name].js' |
and here:
|
configuration.output.chunkFilename = '[name].js' |