We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf53ed0 commit 594ab27Copy full SHA for 594ab27
src/plugins.js
@@ -130,8 +130,9 @@ module.exports = {
130
fileName: 'asset-manifest.json',
131
writeToFileEmit: true,
132
map: ( file ) => {
133
- // Make sure an RTL file has a separate entry in the manifest.
134
- if ( /\.rtl\.css$/.test( file.path ) ) {
+ // Work around https://github.com/romainberger/webpack-rtl-plugin/issues/14
+ // to make sure an RTL file has a separate entry in the manifest.
135
+ if ( ( /\.rtl\.css$/ ).test( file.path ) ) {
136
file.name = file.name.replace( '.css', '.rtl.css' );
137
}
138
0 commit comments