karma-typescript-haml-transform

0.0.2 • Public • Published

karma-typescript-haml-transform

NPM Version

Travis build status

Karma-Typescript ❤️ 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")()
        ]
    }
}

Package Sidebar

Install

npm i karma-typescript-haml-transform

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

9.39 kB

Total Files

9

Last publish

Collaborators

  • mebibou