babel-plugin-react-bootstrap
v0.0.2
Published
babel-plugin-react-bootstrap
Downloads
52
Maintainers
Keywords
Readme
babel-plugin-react-bootstrap
Install
$ npm i --save-dev babel-plugin-react-bootstrap
Example
Transforms
import { Button } from 'react-bootstrap';
roughly to
import Button from 'react-bootstrap/lib/Button';
Usage
.babelrc
{
"plugins": ["react-bootstrap"],
"presets": ["es2015"]
}
Thanks
Heavily inspired by babel-plugin-lodash and babel-plugin-date-fns.