A Shanzhai step which compiles parsed TypeScript to Javascript.
This step is unlikely to have any use other than combining the output of ParseTypeScriptStep.
Within a trigger's event handler, return an instance of CompileTypeScriptStep
similar to the following:
new CompileTypeScriptStep(
new ConstantInput({
keyA: aParsedTypeScriptFile,
keyB: anotherParsedTypeScriptFile,
}),
new ConstantInput(aSetOfTypeScriptCompilerOptions),
new OutputForCompiledJavascript(),
);
This will compile all of the input parsed TypeScript files into a single Javascript file and output it.
This package has the following runtime dependencies:
Name | Version |
---|---|
typescript |
This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).