@nuofe/babel-preset-ndk
v8.2.6
Published
Forked from babel-preset-airbnb.
Downloads
102
Readme
Nuo FE NDK Babel Preset
Forked from airbnb/babel-preset-airbnb.
Lerna does not support git submodules, https://github.com/lerna/lerna/issues/2099. So, we moved repository to https://github.com/nuofe/ndk/tree/master/packages/babel-preset-ndk for update.
Install
yarn add @nuofe/babel-preset-ndk --dev
Usage
// babel.config.js
module.exports = function(api) {
api.cache(true);
const presets = ['@nuofe/babel-preset-ndk'];
const plugins = [];
return {
presets,
plugins,
};
};