Skip to content

A Karma preprocessor for the Bublé ES2015+ compiler

License

Notifications You must be signed in to change notification settings

blgm/karma-buble-preprocessor

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •