babel-plugin-react-bootstrap

babel-plugin-react-bootstrap

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-react-bootstrap
0.0.27 years ago7 years agoMinified + gzip package size for babel-plugin-react-bootstrap in KB

Readme

babel-plugin-react-bootstrap
Build Status

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.