Have ideas to improve npm?Join in the discussion! »

    @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

    Last publish

    Collaborators

    • avatar