0.1.1 • Published 8 years ago

sassvar-loader v0.1.1

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

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)