karma-buble-preprocessor

1.2.11 • Public • Published

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

Package Sidebar

Install

npm i karma-buble-preprocessor

Weekly Downloads

24

Version

1.2.11

License

MIT

Unpacked Size

5.06 kB

Total Files

4

Last publish

Collaborators

  • blgm