sass-imports
v0.0.1
Published
webpack loader for import json as sass variables
Downloads
4
Readme
#webpack loader for import json as sass variables
##converts json to sass veriables ####example: test.json
{
"a": {
"b": "100px",
"c": {
"d": 99
}
}
}
will be converted to
$a-b : 100px
$a-c-d : 99
Usage
style-loader!css-loader!autoprefixer-loader!sass-loader?indentedSyntax=sass!sass-imports?./common_vars.json
License
MIT (http://www.opensource.org/licenses/mit-license.php)