justo.plugin.babel
v1.0.0-alpha3.0
Published
Justo plugin for Babel.
Downloads
29
Readme
justo.plugin.babel
Justo plugin for Babel.
Developed in Dogma, compiled to JavaScript.
Proudly made with ♥ in Valencia, Spain, EU.
Use
const babel = require("justo.plugin.babel");babel task
This task runs ./node_modules/.bin/babel:
babel({src, dst})src(string or string[], required). Sources.dst(string, required). Destination. When it ends with/, the destination is a directory; otherwise, a file.
Example:
babel({
src: "build",
dst: `dist/${PKG}/`
});