An open API service indexing awesome lists of open source software.

https://github.com/lightsofapollo/silk-babel-run-example

Quick example usage of how we use silk-babel-run to simplify setup.
https://github.com/lightsofapollo/silk-babel-run-example

Last synced: 11 months ago
JSON representation

Quick example usage of how we use silk-babel-run to simplify setup.

Awesome Lists containing this project

README

          

# Example

[![Build Status](https://travis-ci.org/lightsofapollo/silk-babel-run-example.svg?branch=master)](https://travis-ci.org/lightsofapollo/silk-babel-run-example)

Quick example usage of using silk-babel-run... We use this internally
within our silk projects but now can also be dropped in for open source
usage...

## What does it do?

Provides built in hooks for instantly running our babel preset +
register ... The register logic is smart in that you can run multiple
silk-babel-run/register calls across multiple modules without hitting
performance problems by loading babel N times.

This also contains mocha helps (see test/mocha.opts) for setting up
babel+mocha.