babel-plugin-seek-style-guide
1.0.0 • Public • Published
![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)
babel-plugin-seek-style-guide
Optimise your bundle by automatically rewriting import statements from seek-style-guide.
For example, turn this:
import { Text, Button } from 'seek-style-guide/react';
Into this:
import Text from 'seek-style-guide/react/Text/Text';
import Button from 'seek-style-guide/react/Button/Button';
Setup
First, install from npm:
$ npm install --save-dev babel-plugin-seek-style-guide
Then, add seek-style-guide
to the plugins list in your Babel config. For example, in .babelrc
:
{
"plugins": ["seek-style-guide"]
}
Contributing
Refer to CONTRIBUTING.md.
License
MIT.
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
89
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
89
Package Sidebar
Install
npm i babel-plugin-seek-style-guide
Weekly Downloads