Gruntfile: Change import rules to include RTL stylesheets when running CSSJanus.

see #28966.

git-svn-id: https://develop.svn.wordpress.org/trunk@29256 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-07-21 02:50:45 +00:00
parent 01277f8d32
commit 0c3d0214cb
1 changed files with 4 additions and 1 deletions

View File

@ -161,7 +161,10 @@ module.exports = function(grunt) {
cssjanus: {
core: {
options: {
swapLtrRtlInUrl: false
swapLtrRtlInUrl: false,
processContent: function( src ) {
return src.replace( /url\((.+?)\.css\)/g, 'url($1-rtl.css)' );
}
},
expand: true,
cwd: SOURCE_DIR,