Skip to content

Commit a8fbe83

Browse files
committed
RTL all the things!
1 parent f2aa371 commit a8fbe83

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

config/grunt/rtlcss.js

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
// https://github.com/MohammadYounes/grunt-rtlcss
22
module.exports = {
3-
theme: {
4-
options: {
5-
swapLeftRightInUrl: false,
6-
swapLtrRtlInUrl: false,
7-
autoRename: false,
8-
preserveDirectives: true
9-
},
10-
files: [
11-
{
12-
src: '<%= paths.tmp %><%= pkg.nameDashed %>.css',
13-
dest: '<%= paths.tmp %><%= pkg.nameDashed %>-rtl.css'
14-
},
15-
{
16-
src: '<%= paths.tmp %>admin-<%= pkg.nameDashed %>.css',
17-
dest: '<%= paths.tmp %>admin-<%= pkg.nameDashed %>-rtl.css'
18-
}
19-
]
3+
options: {
4+
swapLeftRightInUrl: false,
5+
swapLtrRtlInUrl: false,
6+
autoRename: false,
7+
preserveDirectives: true
8+
},
9+
plugin: {
10+
expand: true,
11+
cwd: '<%= paths.tmp %>',
12+
src: [
13+
'*.css',
14+
'!*.min.css'
15+
],
16+
dest: '<%= paths.tmp %>',
17+
ext: '.css',
18+
extDot: 'last'
2019
}
2120
};

0 commit comments

Comments
 (0)