Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add the ability to pass the --build option to tsc #63

Copy link
Copy link
@jessecrossen

Description

@jessecrossen
Issue body actions

I would like to use the --build option that ships with TypeScript 3+, but there seems to be no way to inject it into the tsc arguments list. I can think of two ways to implement this, either specifically for this argument by adding the following to compiler.js:

if (options.build) {
  nodeArgs.push('--build');
}

or more generally by allowing arbitrary arguments to be passed through:

if (options.args) {
  nodeArgs = nodeArgs.concat(options.args);
}

I'm happy to submit a PR if needed.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.