karma-mincer-preprocessor
0.0.2 • Public • Published karma-mincer-preprocessor
Preprocessor to use http://github.com/nodeca/mincer for compilation.
Installation
The easiest way is to keep karma-mincer-preprocessor
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-coffee-preprocessor": "~0.0.1"
}
}
You can simple do it by:
npm install karma-mincer-preprocessor --save-dev
Configuration
Following code shows the default configuration...
module.exports = function(config) {
config.set({
preprocessors: {
'**/*.js': ['mincer']
},
mincerPreprocessor: {
options: {
paths: [],
init: function (environment, options) {
environment.registerHelper('value-to-be-used', function () {
});
}
}
}
});
};
Readme
Keywords
nonePackage Sidebar
Install
npm i karma-mincer-preprocessor
Weekly Downloads