karma-preprocess-preprocessor
Preprocess a file using preprocess.
Installation
The easiest way is to keep karma-preprocess-preprocessor
as a devDependency.
You can simple do it by:
npm install karma-preprocess-preprocessor --save-dev
Configuration
Following code shows the default configuration
// karma.conf.jsmodule { config}
If you need to process both, html and js, you can use karmas customPreprocessors
:
// karma.conf.jsmodule { config}
For more information on Karma see the karma homepage.
For more information on Preprocess see the preprocess homepage.