@warungpintar/babel-config
v0.3.3
Published
Warung Pintar's base babel config
Downloads
5
Keywords
Readme
babel-config
Warung Pintar's base Babel config.
Installation
yarn add --dev @warungpintar/babel-config
Usage
After installing, update your project's babel.config.js
file to import the rule sets you want:
let base = require('@warungpintar/babel-config');
module.exports = function(api) {
const presets = [ ... ];
const plugins = [ ... ];
return {
...base(api),
presets,
plugins,
};
};
Read the Babel config docs for more information.