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