@hidoo/util-merge-babelrc
v0.19.0
Published
Utility that merge .babelrc.
Downloads
22
Readme
@hidoo/util-merge-babelrc
Utility that merging .babelrc.
Installation
$ npm install --save-dev @hidoo/util-merge-babelrc
Usage
import mergeBabelrc from '@hidoo/util-merge-babelrc';
const babelOptions = mergeBabelrc('/path/to/.babelrc.js', {
presets: [...],
plugins: [...],
useBuiltIns: 'usege'
});
Test
$ yarn test
License
MIT