Skip to content

Commit fbb5766

Browse files
committed
Fix a typo
1 parent b47c4af commit fbb5766

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# rtlcss loader for webpack
2+
23
Work just like **[css-loader](https://github.com/webpack/css-loader)** and use **[rtlcss](https://github.com/MohammadYounes/rtlcss/)** to RTLify your css.
34

45
## installation
56

6-
`npm install rtlcss-loader --save-dev`
7+
`npm i rtlcss-loader -D`
78

89
## Usage
910

1011
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
1112

12-
``` javascript
13+
```javascript
1314
module.exports = {
1415
module: {
1516
loaders: [
@@ -23,6 +24,7 @@ module.exports = {
2324
```
2425

2526
for SASS/LESS you'll need **[sass-loader](https://github.com/jtangelder/sass-loader)** first :
27+
2628
```javascript
2729
module.exports = {
2830
module: {
@@ -38,14 +40,19 @@ module.exports = {
3840

3941
## IMPORTANT
4042

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.
44+
45+
❌ for example :
46+
4247
```css
4348
div {
4449
/*rtl:ignore*/
4550
margin: -25px -25px 0 0;
4651
}
4752
```
48-
must be :
53+
54+
✔ must be :
55+
4956
```css
5057
div {
5158
/*!rtl:ignore*/

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "rtlcss-loader",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"author": "Sidati MESSAITI",
55
"description": "rtlcss loader module for webpack based on github.com/webpack/css-loader",
66
"engines": {
77
"node": ">=0.12.0"
88
},
9-
"files": ["index.js", "locals.js", "lib"],
9+
"files": [
10+
"index.js",
11+
"locals.js",
12+
"lib"
13+
],
1014
"dependencies": {
1115
"babel-code-frame": "^6.11.0",
1216
"css-selector-tokenizer": "^0.7.0",
@@ -40,4 +44,4 @@
4044
"url": "git@github.com:sidati/rtlcss-loader.git"
4145
},
4246
"license": "MIT"
43-
}
47+
}

0 commit comments

Comments
 (0)