karma-postcss-preprocessor

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i karma-postcss-preprocessor

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stephenway