@taogilaaa/babel-config

1.0.1 • Public • Published

babel-config

Base Babel config.

Installation

yarn add --dev @taogilaaa/babel-config

Usage

After installing, update your project's babel.config.js file to import the rule sets you want:

let base = require('@taogilaaa/babel-config');

module.exports = function(api) {
  const presets = [ ... ];
  const plugins = [ ... ];

  return {
    ...base(api),
    presets,
    plugins,
  };
};

Read the Babel config docs for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @taogilaaa/babel-config

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

3.77 kB

Total Files

7

Last publish

Collaborators

  • taogilaaa