karma-postcss-preprocessor
v1.0.0
Published
Karma preprocessor to compile CSS on the fly with PostCSS
Downloads
5
Maintainers
Readme
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.