karma-typescript-haml-transform
v0.0.2
Published
Plugin for transforming haml templates
Maintainers
Readme
karma-typescript-haml-transform
Karma-Typescript :heart: Haml
This plugin is a specialized Haml compiler, which transforms haml require('./template.html.haml') templates to HTML on the fly when running tests with karma-typescript.
The plugin is using the haml gem directly so be sure you have it installed before.
Installation
$ npm install --save-dev karma-typescript-haml-transformConfiguration
In the karma-typescript section of karma.conf.js:
karmaTypescriptConfig: {
bundlerOptions: {
transforms: [
require("karma-typescript-haml-transform")()
]
}
}