@ethronjs/plugin.babel
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by EthronLabs.
Use
const babel = require("@ethronjs/plugin.babel");
babel task
This task runs ./node_modules/.bin/babel
:
babel({src, dst})
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}/`
});