babel-register-fixed-sourcemaps
babel require hook
Last updated 3 years ago by graingert .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install babel-register-fixed-sourcemaps 
SYNC missed versions from official npm registry.

babel-register

The require hook will bind itself to node's require and automatically compile files on the fly.

Install

$ npm install babel-register

Usage

require("babel-register");

All subsequent files required by node with the extensions .es6, .es, .jsx and .js will be transformed by Babel.

See documentation for details.

Current Tags

  • 6.9.0                                ...           latest (3 years ago)

1 Versions

  • 6.9.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |