blgm / karma-buble-preprocessor

A Karma preprocessor for the Bublé ES2015+ compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm test

karma-buble-preprocessor

A Karma preprocessor for the Bublé ES2015+ compiler.

Maintenance status

As Bublé is no longer under active development, there is no plan to add new features to this module. However critical security issues may be fixed.

Installation

To install as a devDependency:

npm install --save-dev karma-buble-preprocessor

Configuration

Just add it to the preprocessors section of your Karma configuration file, for instance:

// karma.conf.js
module.exports = function (config) {
  config.set({
    preprocessors: {
      'test/**/*.js': ['buble']
    }
  })
}

Purpose

This preprocessor uses Bublé to transpile JavaScript ES2015+ into ES5 suitable for older runtimes.

License

See LICENSE.md

Contributing

See CONTRIBUTING.md

JavaScript Style Guide

About

A Karma preprocessor for the Bublé ES2015+ compiler

License:MIT License


Languages

Language:JavaScript 100.0%