Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i karma-es6-transpiler-preprocessor

DownloadsWeekly Downloads

1

Version

0.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • avatar