Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

json-sass-mixin-loader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

json-sass-mixin-loader

webpack loader for import json as sass variables

unpublished
latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

#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!json-sass-mixin-loader?./common_vars.json

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Keywords

webpack

FAQs

Package last updated on 10 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts