New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sassvar-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sassvar-loader

a webpack loader to set sass variables during loading

0.1.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

sassvar-loader

set sass global variables for webpack

Installation

npm install sassvar-loader -D

Usage

Documentation: Using loaders

Example config

var webpackConfig = {
    module: {
        loaders:[
            {test: /.scss$/, loader: "style!css!sass!sassvar?varname1=varvalue1&varname2=varvalue2"}
        ]
    },
}

Forked from gist: jsonToSassVars and prepend-loader

License

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

Keywords

webpack

FAQs

Package last updated on 23 Feb 2016

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