(forked from laravel-elixir-typescript by okaufmann)
You have to install Laravel's Elixir(Version 3.0 or higher) and its dependencies first.
The signature was changed to the following:
Install with Node.js
npm install elixir-typescript --save
A simple gulp-typescript wrapper ingredient for Laravel Elixir.
Add it to your Elixir-enhanced Gulpfile, like so:
var elixir = ;// import the dependencyvar elixirTypscript = ;;
This will compile the
app.ts file in
resources/assets/typescript/ and concat the compiled content into
If you'd like to output to a different directory than the default
public/js, then you may override this by provide a path for
output as well.
Further you could insert multiple files like
If you wish to ignore Compilation errors
The project file is also supported. Just put your file into the typescript asset folder and the pluging will automatically use it.
Bellow is the list of the available parameters:
gulp-typescriptused for compiling. All options under https://github.com/ivogabe/gulp-typescript#options
List of available flags:
ignoreErrors (default: false) -> all errors will be ignored and the typescript will continue being compiled.