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-transform
Configuration
In the karma-typescript
section of karma.conf.js
:
karmaTypescriptConfig: {
bundlerOptions: {
transforms: [
require("karma-typescript-haml-transform")()
]
}
}