Skip to content

Detect project type and use an appropriate build #2

@jamsesso

Description

@jamsesso

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions