0.1.3 • Published 8 years ago

css-extend-loader v0.1.3

Weekly downloads
3
License
-
Repository
github
Last release
8 years ago

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)