0.1.0 • Published 7 years ago

@ethronjs/plugin.babel v0.1.0

Weekly downloads
-
License
-
Repository
bitbucket
Last release
7 years ago

@ethronjs/plugin.babel

NPM version Total downloads

Ethron.js plugin for 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}/`
});
0.1.0

7 years ago