Right now, fxsync uses create-react-library meant for apps that were bootstrapped using create-react-app. In order to support more projects in the future (even outside of the React world), we should add the concept of "build strategies".
A build strategy in this context would be a module that was responsible for determining the appropriate CJS build for the project. Today, there would only be a single strategy - the create-react-app strategy (potentially detected by a a dependency on react-scripts?)
Right now, fxsync uses create-react-library meant for apps that were bootstrapped using create-react-app. In order to support more projects in the future (even outside of the React world), we should add the concept of "build strategies".
A build strategy in this context would be a module that was responsible for determining the appropriate CJS build for the project. Today, there would only be a single strategy - the create-react-app strategy (potentially detected by a a dependency on react-scripts?)