C# Class TypeScriptBundleTransform.TypeScriptTransformer

A bundle transformer that takes TypeScript and outputs JavaScript.
Inheritance: IBundleTransform
Exibir arquivo Open project: wouterdevinck/TypeScript-BundleTransform

Public Methods

Method Description
Process ( BundleContext context, BundleResponse response ) : void
TypeScriptTransformer ( ErrorLevel errorLevel, bool minify ) : System

A bundle transformer that takes TypeScript and outputs JavaScript.

TypeScriptTransformer ( bool minify ) : System

A bundle transformer that takes TypeScript and outputs JavaScript. Type checking will be performed.

Private Methods

Method Description
GetErrorScript ( string errors ) : string
GetScript ( string filename ) : string
TypeScriptTransformer ( ) : System

Method Details

Process() public method

public Process ( BundleContext context, BundleResponse response ) : void
context BundleContext
response BundleResponse
return void

TypeScriptTransformer() public method

A bundle transformer that takes TypeScript and outputs JavaScript.
public TypeScriptTransformer ( ErrorLevel errorLevel, bool minify ) : System
errorLevel ErrorLevel Indicates whether the TypeScript compiler should run type checking and /// whether error should be logged or exceptions should be thrown.
minify bool Indicates whether the result should be minified.
return System

TypeScriptTransformer() public method

A bundle transformer that takes TypeScript and outputs JavaScript. Type checking will be performed.
Type checking found an error.
public TypeScriptTransformer ( bool minify ) : System
minify bool Indicates whether the result should be minified.
return System