Skip to content

Handling of shared JS dependencies for a react-app #601

Closed
@wolffiex

Description

I am looking for guidance for the best way to include shared JavaScript code in a react-app without going through npm. Currently my project is set up like this:

./my-project
  /shared
  /server
  /react-app

I made symlinks between the shared directory and the src files for each of the server and the react_app. The symlink works fine with babel --watch for the server but not with create-react-app

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions