@dosomething/babel-config
v2.2.2
Published
Shared Babel preset for DoSomething.org projects.
Downloads
11
Keywords
Readme
babel-config
This is our shared Babel config used for writing JavaScript at DoSomething.org. It compiles the latest ECMAScript standard to ES5 for widespread browser support, adds support for JSX & Flow (with optimizations!), and adds support for experimental export extensions and object spread properties.
Getting Started
Install this package via NPM:
npm install @dosomething/babel-config --save-dev
Specify as a preset in your package.json
:
{
// ...
"babel": {
"preset": "@dosomething/babel-config",
}
}
License
©2017 DoSomething.org. @dosomething/babel-config is free software, and may be redistributed under the terms specified in the LICENSE file. The name and logo for DoSomething.org are trademarks of Do Something, Inc and may not be used without permission.