1.0.1 • Published 3 years ago

@taogilaaa/babel-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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.