Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 829 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 829 Bytes

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');