karma-generic-preprocessor
Provides a way to define preprocessors inline in the karma configuration files. This can be very handy in some situations, for example:
- URL rewriting
- using exotic JS / CSS preprocessors without having to write dedicated plugin
- whatever else you decide to do :)
Installation
npm install karma-generic-preprocessor --save
Note: Karma will automatically see and include plugins whose names start with karma-*
. However, it is possible that, in your IDE or console configurations, you're running Karma as a global Node module. In that case, you'll have to install this plugin too globally, i.e
npm install karma-generic-preprocessor -g
Configuration and Usage
// karma.conf.jsmodule {config}
LICENSE
Available under MIT style license.