0.0.1 • Published 10 years ago

karma-es6-transpiler-preprocessor v0.0.1

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
10 years ago

Karma ES6 transpiler preprocessor

Preprocessor for Karma that "transpiles" your ES6 Javascript code to ES5. It uses es6-transpiler

Installation

npm install karma-es6-transpiler-preprocessor --save-dev

Use

Following code shows the default use of the preprocessor.

// karma.conf.js
module.exports = function(config) {
  config.set({
    preprocessors: {
        '*.js': ['es6-transpiler'],
    }
  });
};