utilize default parameters
Closed this issue · 0 comments
v0lkan commented
instead of this
babil.initialize( {
srcPath: join( __dirname, 'lib' ),
rootPath: join( __dirname, '..',
babelPath: join( __dirname, '../node_modules/babel-cli/bin/babel.js' )
} );
do this
babil.initialize( { cwd: __dirname } );
and let the rest of the options get defaults from that parameters.