Get unlimited public & private packages + team-based management with npm Teams.Learn more »

sassvar-loader

0.1.1 • Public • Published

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)

Install

npm i sassvar-loader

DownloadsWeekly Downloads

1

Version

0.1.1

License

ISC

Last publish

Collaborators

  • avatar