Skip to content

better module names inferred for externals #1959

@bobzhang

Description

@bobzhang

Quite urgly output

var MaterialUi$slashcolors$slashindex = require("material-ui/colors/index");

Maybe we can put some constraints on bs.module name path, like this:

external teal: colorGroup = "teal" [@@bs.val] [@@bs.module "material-ui","colors","index"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions