npm.io
0.19.0 • Published 5 years ago

@hidoo/util-merge-babelrc

Licence
MIT
Version
0.19.0
Deps
2
Size
15 kB
Vulns
0
Weekly
64

@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

Keywords