karma-es6-transpiler-preprocessor

0.0.1 • Public • Published

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'],
    }
  });
};

Dependents (0)

Package Sidebar

Install

npm i karma-es6-transpiler-preprocessor

Weekly Downloads

1

Version

0.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • ouhouhsami