0.0.5 • Published 10 years ago
karma-slim-preprocessor-with-binary-option v0.0.5
karma-slim-preprocessor
Preprocessor for converting slim files to html templates.
It requires the slimrb binary to be on your path, which will be present if slim is installed by bundler.
npm install karma-slim-preprocessor --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
preprocessors: {
'**/*.slim': ['slim']
},
files: [
'**/*.js',
'**/*.slim',
],
slimPreprocessor: {
// provide the location of a slimrb binary by uncommenting the next line.
// slimrb: '/usr/local/bin/slimrb'
}
});
};
0.0.5
10 years ago