karma-slim-preprocessor
1.0.0 • Public • Published 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.
Installation
npm install karma-slim-preprocessor --save-dev
Configuration
module.exports = function(config) {
config.set({
preprocessors: {
'**/*.slim': ['slim']
},
slimPreprocessor: {
slimrb: "/usr/local/slimrb",
slimrbOption: '-l { "foosball": true }'
},
files: [
'**/*.js',
'**/*.slim',
]
});
};
Package Sidebar
Install
npm i karma-slim-preprocessor
Weekly Downloads