Nanoprogrammed Penultimate Musicianship

    @polyphem/laravel-elixir-typescript

    1.0.1 • Public • Published

    Usage

    This Laravel Elixir extension allows you to compile Typescript.

    Installation

    First, pull in the extension through NPM.

    npm install --save @polyphem/laravel-elixir-typescript
    

    Next, add it to your Elixir-enhanced Gulpfile, like so:

    var elixir = require('laravel-elixir');
    
    require('@polyphem/laravel-elixir-typescript');
    
    elixir(function(mix) {
    mix.typescript();
    });

    That's it! You're all set to go!

    Usage

    Assuming you write...

    elixir(function(mix) {
    mix.typescript();
    });

    ...this will compile your resources/assets/js/**/*.ts file to ./public/js/all.js.

    If you'd like to set a different output directory, you may pass a second argument to the typescript() method, like so:

    mix.typescript('public/js', 'resources/assets/js/')

    Finally, if you want to override the Typescript plugin options, you may pass an object as the third argument.

    mix.typescript(null, null, {});

    Install

    npm i @polyphem/laravel-elixir-typescript

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • polyphem