@hidoo/util-merge-babelrc

0.19.0 • Public • Published

@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

/@hidoo/util-merge-babelrc/

    Package Sidebar

    Install

    npm i @hidoo/util-merge-babelrc

    Weekly Downloads

    1

    Version

    0.19.0

    License

    MIT

    Unpacked Size

    14.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • hidoo