Skip to content

Commit 594ab27

Browse files
committed
Fix lint error and link out to RTL plugin manifest issue
1 parent cf53ed0 commit 594ab27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/plugins.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ module.exports = {
130130
fileName: 'asset-manifest.json',
131131
writeToFileEmit: true,
132132
map: ( file ) => {
133-
// Make sure an RTL file has a separate entry in the manifest.
134-
if ( /\.rtl\.css$/.test( file.path ) ) {
133+
// Work around https://github.com/romainberger/webpack-rtl-plugin/issues/14
134+
// to make sure an RTL file has a separate entry in the manifest.
135+
if ( ( /\.rtl\.css$/ ).test( file.path ) ) {
135136
file.name = file.name.replace( '.css', '.rtl.css' );
136137
}
137138

0 commit comments

Comments
 (0)