1.0.0 • Published 8 years ago

karma-postcss-preprocessor v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

karma-postcss-preprocessor

Karma preprocessor to compile CSS on the fly with PostCSS

Install

npm install --save-dev karma-postcss-preprocessor

Setup

Reference PostCSS options for how this works.

module.exports = function (config) {
  config.set({
	  preprocessors: {
			‘src/**/*.css’: [‘css’]
		},
		PostCSSPreprocessor: {
		  options: { map: true }
		}
	});
};

License

This project is licensed under the MIT license.