Skip to content

Commit

Permalink
@dev add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyTianer committed Nov 15, 2018
1 parent 269b74a commit 0579625
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Default:
unitPrecision: 5,
propWhiteList: [],
propBlackList: [],
exclude:false,
selectorBlackList: [],
ignoreIdentifier: false,
replace: true,
Expand All @@ -128,6 +129,7 @@ Default:
- Values need to be exact matches.
- `propBlackList` (Array) The properties that should not change from px to rem.
- Values need to be exact matches.
- `exclude` (Reg) a way to exclude some folder,eg. /(node_module)/.
- `selectorBlackList` (Array) The selectors to ignore and leave as px.
- If value is string, it checks to see if selector contains the string.
- `['body']` will match `.body-class`
Expand Down

0 comments on commit 0579625

Please sign in to comment.