0.1.3 • Published 6 years ago
babel-preset-minimal v0.1.3
babel-preset-minimal
Features
- Minimal
async/awaittransform - Loose mode if you want minimal output but still need to support old browsers like IE 9
- Modern mode if you only target browsers that support
<script type="module">tag - ...See complete features.
Install
yarn add babel-preset-minimalUsage
Your .babelrc:
{
"presets": ["minimal"]
}Options
jsx
- Type:
string - Default:
react - Possible values:
reactvueor any JSX pragma likeh.
mode
- Type:
string - Default:
undefined - Possible values:
loosemodern
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
babel-preset-minimal © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily