0.3.1 • Published 5 years ago

build-react-library v0.3.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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".