Is there any way to use the react-scripts toolchain to build a library? I mean CRA has already done everything for us so why set up rollup separately?
react-scripts
We used CRA for previewing our component but rollup is the one in charge of bundling the library
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is there any way to use the
react-scriptstoolchain to build a library? I mean CRA has already done everything for us so why set up rollup separately?We used CRA for previewing our component but rollup is the one in charge of bundling the library