build-react-library
v0.3.1
Published
Build react library
Downloads
15
Readme
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".