css-extend-loader

0.1.3 • Public • Published

css-extend-loader for webpack

Special thanks

css-extend-loader is based on raw-loader@0.5.1 by @sokra

Usage

in webpack.config.js

 
var rootPath = encodeURIComponent('https://127.0.0.1/img/');
module.exports = {
 
    /*
    ......
    ......
    */
    
    module: {
        loaders: [
            test: /\.css$/,
            loader: 'style!css-extend?rootPath='+rootPath
        ]
    }
};

See webpack documentation.

License

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

Readme

Keywords

none

Package Sidebar

Install

npm i css-extend-loader

Weekly Downloads

7

Version

0.1.3

License

none

Last publish

Collaborators

  • b6pzeusbc54tvhw5jgpyw8pwz2x6gs