npm

Need private packages and team management tools?Check out npm Orgs. »

@vivaxy/babel-folder

0.1.1 • Public • Published

babel-folder

babel from source to build

USAGE

yarn add @vivaxy/babel-folder

import babelFolder from '@vivaxy/babel-folder';
 
const sourceFolder = path.join(__dirname, '..', 'src');
const buildFolder = path.join(__dirname, '..', 'build');
babelFolder(/* source folder absolute path */ sourceFolder, /* output folder absolute path */ buildFolder)
    .then(() => {
        // success
    })
    .catch((ex) => {
        // error
        console.error(ex);
    });

Keywords

none

install

npm i @vivaxy/babel-folder

Downloadsweekly downloads

4

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability