edge-babel

0.4.3 • Public • Published

Edge Babel
Sponsored by Version Downloads Build Status Unix Build Status Windows Dependencies

Edge Babel is a centralized Babel Configuration. Part of the Edge Platform.

Features

  • React and Flowtype Support baked-in for transpiling JSX and removing non-standard Flowtype definitions.
  • Optimizations for React during development (richer debug capabilities) and production (less code).
  • Automatic environment specific ES2015/2016/2017 support using Preset Env
  • High performance async/await transpilation using Fast Async and nodeent
  • Support for new dynamic import() statement which is used for dynamic chunk creation in Webpack since version 2.
  • Local module support for easily referencing sources inside the src folder of the project using the module resolver plugin.
  • Support for converting often times used upcoming ES standards like class properties and object rest spread.
  • Prefers external polyfills and helpers instead of baked-in code which is especially beneficial for caching and code splitting.
  • Lodash Plugin to allow cherry-picking of more tranditionally exported libraries like lodash, async, rambda and recompose.
  • The transpiler config ignores Generators. As transpiling these results into super slow code and async/await is available the preset prefers to use this instead of "regenerator".

License

Apache License Version 2.0, January 2004

Copyright

Sebastian Software GmbH Logo

Copyright 2017
Sebastian Software GmbH

Package Sidebar

Install

npm i edge-babel

Weekly Downloads

1

Version

0.4.3

License

Apache-2.0

Last publish

Collaborators

  • swernerx