build-react-library

0.3.1 • Public • Published

npm version npm downloads

build-react-library helps you to bundle a React library

build-react-library based on @material-ui babel config

Additional plugins:

  • @babel/plugin-syntax-dynamic-import

Get Started

yarn add build-react-library
yarn build-react-icons

Advanced usage and Custom builds

yarn build-react-library --help can be used to display the options available for building.

  • --output-dir, -o - Directory to output generated components. [default: "build"]
  • --src-dir, -s - Directory containing the source SVG icons. [default: "src"]
  • --lib-name, -n - "Change library name in package.json".
  • --watch, -w - "babel --watch".

Readme

Keywords

none

Package Sidebar

Install

npm i build-react-library

Weekly Downloads

11

Version

0.3.1

License

MIT

Unpacked Size

14.4 kB

Total Files

18

Last publish

Collaborators

  • elv1n