Connect plugin for Babel
JavaScript
Latest commit 6827445 Nov 25, 2015 @thejameskyle thejameskyle Add tests
Permalink
Failed to load latest commit information.
fixtures Add tests Nov 25, 2015
.gitignore Add tests Nov 25, 2015
LICENSE first commit Oct 6, 2014
README.md Add ignore option for not transforming urls based on a regex Mar 2, 2015
index.js Support Babel 6 Nov 25, 2015
package.json Add tests Nov 25, 2015
test.js Add tests Nov 25, 2015

README.md

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"));