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:
parent
01277f8d32
commit
0c3d0214cb
@ -161,7 +161,10 @@ module.exports = function(grunt) {
|
|||||||
cssjanus: {
|
cssjanus: {
|
||||||
core: {
|
core: {
|
||||||
options: {
|
options: {
|
||||||
swapLtrRtlInUrl: false
|
swapLtrRtlInUrl: false,
|
||||||
|
processContent: function( src ) {
|
||||||
|
return src.replace( /url\((.+?)\.css\)/g, 'url($1-rtl.css)' );
|
||||||
|
}
|
||||||
},
|
},
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: SOURCE_DIR,
|
cwd: SOURCE_DIR,
|
||||||
|
Loading…
Reference in New Issue
Block a user