accurat / accurapp

Create JS apps with flexible build configuration, tailored for the specific needs of Accurat
MIT License
21 stars 5 forks source link

Add script to build for a reusable library #39

Open marcofugaro opened 6 years ago

marcofugaro commented 6 years ago

Resources:

https://hackernoon.com/building-a-react-component-library-part-1-d8a1e248fe6c

https://medium.com/@stokedbits/adventures-in-creating-a-react-component-library-with-create-react-app-and-typescript-26d1116a7d87

https://github.com/DimitriMikadze/create-react-library

https://github.com/insin/nwb/blob/master/docs/guides/ReactComponents.md#developing-react-components-and-libraries-with-nwb

marcofugaro commented 5 years ago

Blocker: https://github.com/webpack/webpack/issues/2933

An alternative for libraries now is to use rollup.js