@taogilaaa/babel-config
v1.0.1
Published
Base babel config
Downloads
4
Readme
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.