Closed dfsa-bot closed 4 years ago
So the templates use Parcel, not CRA, but I'm not sure why they wouldn't work the same.
I don't use this multi-build myself too often, so I'm not a great resource on this, but something you might want to try that's popped up a couple of times for various forms of multi-builds is the --noClean
flag.
--noClean
is a workaround for it until a more intelligent clean solution exists for Rollup
I want to develop a standalone react component, let's call it Test, so any CRA app could just add it as npm dependency and then use it directly like:
<Test{...props} />
. I am having difficulties with local development of the component - is there any way to have local server with hot reloading up and running? I triedtsdx start
running in one terminal window, then in the second window an instance of create-react-app'syarn start
. It kind of worked - manual page refresh is required. Any tips?