Home

Awesome

babel-connect

Babel connect plugin

Installation

$ npm install babel-connect

Usage

var babelMiddleware = require("babel-connect");

app.use(babelMiddleware({
  options: {
    // options to use when transforming files
  },
  src: "assets",
  dest: "cache",
  ignore: /node_modules/
}));

app.use(connect.static("cache"));