0.0.1 • Published 8 years ago

@dominicbarnes/mako-babel-precompile v0.0.1

Weekly downloads
1
License
-
Repository
-
Last release
8 years ago

@dominicbarnes/mako-babel-precompile

My personal mako plugin bundle for precompiling ES6 modules using babel before publishing to npm.

npm version npm dependencies npm dev dependencies

Usage

This plugin is for precompiling ES6 code prior to publishing on npm. Thus, it generally does a 1:1 transformation of src/*.js into lib/*.js.

API

precompile(options)

Available configuration options:

  • extensions the input file extensions to process (default: "js")
  • output the output directory (default: "lib")
  • sourceMaps include sourcemaps on the output files (inline)