Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.
/ babel-folder Public archive

📦Babel from source to build

License

Notifications You must be signed in to change notification settings

vivaxy/babel-folder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
    });

About

📦Babel from source to build

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published