Skip to content

Commit

Permalink
Link to more stable alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Jul 15, 2018
1 parent f6662f9 commit fd36d32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,10 @@ $ node-sass index.scss --importer node_modules/@node-sass/json-importer/index.js
Sass has many types. `Number` which represent CSS numbers values with optional unit like `16px`. `Color` which represents CSS colour values like `red`, or `#f00`. These are structurally different from `String` like `"hello"`, `"16px"`, `"red"`, or `"#f00`.

To reduce complexity the values produced by this importer are always `String`. As a result you may need to `unquote()` the values to cast them into their intended types if for example you wanted to do math on them.

## Alternatives

- [node-sass-json-importer][]


[node-sass-json-importer]: https://github.com/Updater/node-sass-json-importer/pull/70/files

0 comments on commit fd36d32

Please sign in to comment.