@dominicbarnes/mako-babel-precompile
v0.0.1
Published
My personal mako plugin bundle for precompiling ES6 modules into ES5 prior to publishing.
Downloads
13
Readme
@dominicbarnes/mako-babel-precompile
My personal mako plugin bundle for precompiling ES6 modules using babel before publishing to npm.
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)