Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of RTL files in the manifest
When using the WebpackRTLPlugin the manifest doesn't produce entries for both the original and the RTL file. This results in the wrong file being loaded. This is caused by the fact that both files are in the same chunk. There is an issue tracking this on the WebpackRTLPlugin: romainberger/webpack-rtl-plugin#14 This commit includes a workaround. By providing a `map` function to the manifest plugin we can change the name when we're dealing with an RTL file. That results in two entries in the eventual manifest.
- Loading branch information