Gulp-Typescript plugin for Laravel Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
reporter.js

README.md

laravel-elixir-typescript

Please note that I'm no longer maintaining this plugin as I no longer use it. Please use the fork by okaufmann which works with the latest version of Elixir: https://github.com/okaufmann/laravel-elixir-typescript

Usage

A simple gulp-typescript wrapper ingredient for Laravel Elixir.

Add it to your Elixir-enhanced Gulpfile, like so:

var elixir = require('laravel-elixir');

require('laravel-elixir-typescript');

elixir(function(mix) {
  mix.typescript('app.js');
});

This will compile your resources/assets/typescript/index.ts file.

If you'd like to output to a different directory than the default public/js, then you may override this as well.

mix.typescript('app.js', 'public/js/foo/bar');