Skip to content

frederikvanhevel/karma-haml-preprocessor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

karma-preprocessor-haml

A Karma preprocessor that Compile haml script to html.

Installation

The easiest way is to keep karma-haml-preprocessor as a devDependency in your package.json.

{
  "devDependencies": {
    "karma-haml-preprocessor": "~0.1"
  }
}

You can simple do it by:

npm install karma-haml-preprocessor

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    files: [
      '*.haml'
    ],
    preprocessors: {
      'app/assets/javascripts/**/*.haml'   : 'haml'
    }
  });
};

About

A Karma plugin. Compile haml script to html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%