You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
# rtlcss loader for webpack
2
+
2
3
Work just like **[css-loader](https://github.com/webpack/css-loader)** and use **[rtlcss](https://github.com/MohammadYounes/rtlcss/)** to RTLify your css.
3
4
4
5
## installation
5
6
6
-
`npm install rtlcss-loader --save-dev`
7
+
`npm i rtlcss-loader -D`
7
8
8
9
## Usage
9
10
10
11
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
11
12
12
-
```javascript
13
+
```javascript
13
14
module.exports= {
14
15
module: {
15
16
loaders: [
@@ -23,6 +24,7 @@ module.exports = {
23
24
```
24
25
25
26
for SASS/LESS you'll need **[sass-loader](https://github.com/jtangelder/sass-loader)** first :
27
+
26
28
```javascript
27
29
module.exports= {
28
30
module: {
@@ -38,14 +40,19 @@ module.exports = {
38
40
39
41
## IMPORTANT
40
42
41
-
if you want to use [rtlcss directives](http://rtlcss.com/learn/usage-guide/control-directives/) such as `/*rtl:ignore*/` make sure you are using it as a SPECIAL comment by adding `!` before your comment, for example :
43
+
if you want to use [rtlcss directives](http://rtlcss.com/learn/usage-guide/control-directives/) such as `/*rtl:ignore*/` make sure you are using it as a SPECIAL comment by adding `!` before your comment.
0 commit comments