You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 would like to use the
--buildoption that ships with TypeScript 3+, but there seems to be no way to inject it into thetscarguments list. I can think of two ways to implement this, either specifically for this argument by adding the following tocompiler.js:or more generally by allowing arbitrary arguments to be passed through:
I'm happy to submit a PR if needed.