Skip to content

More configuration! (entry points, compilers, public etc) #18

Open
@jaredly

Description

@jaredly

So we're using the package.json to put config, but what should we put there? There are some issues that I think fall under this:

And other things that I'm looking for:

  • bucklescript
  • specify the path of the built artifact
"rebel": {
  "targets": {
    "./build/my_app.js": {
      "engine": "bucklescript",
      "entry": "./src/js/main.re",
    },
    "./build/my_server.native": {
      // no engine specified, defaults to ocamlc? or sth
      "entry": "./src/server/main.re",
      "extraFlags": " whatever",
    },
  },
},

Rust's cargo is useful to look at

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