Skip to content

How to create a monorepo? #1043

Open
Open
@nojaf

Description

@nojaf

Rewatch opens the door to use monorepos.
But what are the ReScript specific bits to make this work?

I'm happy to contribute a section on this, but I don't quite grasp the execution yet.

@jfrolich or @Bushuo could you give me some steps?

Do I install ReScript in the top-level package.json?
Do I have a top-level rescript.json?

Do I add stuff like this in the top-level rescript.json?

  "package-specs": {
    "module": "esmodule",
    "in-source": true
  },
  "suffix": ".res.mjs",

will the packages inherit this?

Metadata

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