Home

Awesome

broccoli-typescript

npm version Build Status

A Broccoli pluin to compile TypeScript

Installation

Use npm.

npm install --save-dev broccoli-typescript

Example

const broccoliTypeScript = require('broccoli-typescript');
compileTypeScript(tree, options);

API

const broccoliTypeScript = require('broccoli-typescript');

broccoliTypeScript(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

ISC License © 2018 Shinnosuke Watanabe