1.0.1 • Published 7 years ago
babel-preset-topxel v1.0.1
babel-preset-topxel
Topxel's shareable Babel Preset.
Use it as is or as a foundation for your own custom Babel Preset.
Installation
Install babel-core
and babel-preset-topxel
either with Yarn or npm:
With Yarn
yarn add --dev babel-core babel-preset-topxel
With npm
npm install --save-dev babel-core babel-preset-topxel
Setup
Topxel's shareable Babel configuration is bundled inside babel-preset-topxel
Preset. To enable this Preset add a babel
property in your package.json
or create a .babelrc
file in the root directory. Although we encourage using the first method to avoid having hidden files in your project. See How to configure Babel for more details.
{
"babel": {
"presets": ["topxel"]
}
}
Extending the config
ToDo.
License
Copyright (c) 2017 Topxel - Licensed under the MIT License.