0.4.0 • Published 11 years ago
broccoli-typescript v0.4.0
broccoli-typescript
TypeScript compiler for Broccoli
Installation
Install with npm. (Make sure you have installed Node.)
npm i --save-dev broccoli-typescript
Example
var compileTypeScript = require('broccoli-typescript');
tree = compileTypeScript(tree, options);
API
compileTypeScript(tree, options)
options.outDir
Type: String
Default: Build target directory
Output compiled files to the directory.
options.out
Type: String
Concatenate and write compilation results to a single file. When this option is specified, the outDir
option is ignored.
Note: Both outDir
option and out
option are treated as relative paths from build target directory.
And besides, all options for ts-compiler are available.
License
Copyright (c) 2014 Shinnosuke Watanabe
Licensed under the MIT LIcense.