Skip to content

default: scripts can't be functions #3

@Mehuge

Description

@Mehuge

The following does currently work:-

build: {
  default: someFunction(),
}

It complains that the default is not a script. The workaround is to do something like:-

build: {
  default: "nps build.exec",
  exec: someFunction(),
}

TODO: Add support for default: being functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions