zerotohero-dev/babil

Extra `release` folder gets created for some reason

Closed this issue · 0 comments

This code

const babil = require( 'babil' );
const transpile = babil.transpile;
const join = require( 'path' ).join;

const ROOT_PATH = join( __dirname, '..' );

babil.initialize( {
    rootPath: ROOT_PATH,
    srcPath: join( ROOT_PATH, 'generators/app/lib' ),
    releasePath: join( ROOT_PATH, 'generators/app/release' )
} )
.then( transpile );

creates a release folder at the project root; it should not.