stephenway / karma-postcss-preprocessor

Karma preprocessor to compile CSS on the fly with PostCSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Karma preprocessor to compile CSS on the fly with PostCSS

License:MIT License


Languages

Language:JavaScript 100.0%