@gulp-utils/gulp-core-build-tsc
v1.0.0
Published
Gulp Core Build TSC
Downloads
1
Readme
@gulp-utils/gulp-core-build-tsc
gulp-core-build-tsc
is a gulp-core-build
subtask which introduces the ability to compile a Node.js module, using tsc.
Tasks
TscTask
Description
This task invokes tsc on a package using a consumer-specified tsconfig.json
on a package.
Usage
const {tsc} = require("@gulp-utils/gulp-core-build-tsc");
const {initialize, task} = require("@microsoft/gulp-core-build");
tsc.setConfig({
configPath: "./tsconfig.json"
});
task("default", tsc);
initialize(require("gulp"));
Config
interface ITscTaskConfig {
config?: CompilerOptions;
configPath?: string;
}