laravel-elixir-coffeescript

1.0.2 • Public • Published

Laravel Elixir CoffeeScript Support

This extension supports Laravel Elixir v6 and up. For older versions, CoffeeScript support was already baked in.

Step 1: Install

npm install laravel-elixir-coffeescript --save-dev

Step 2: Use It

// Gulpfile.js
 
var elixir = require('laravel-elixir');
 
elixir(function(mix) {
    // Examples:
 
    mix.coffee('app.coffee');
 
    mix.coffee('app.coffee', 'public/output');
 
    mix.coffee('app.coffee', 'public/output/file.js');
 
    // https://github.com/wearefractal/gulp-coffee#options
    mix.coffee('app.coffee', 'public/output/file.js', options);
});

Step 3: None. You're Done.

Package Sidebar

Install

npm i laravel-elixir-coffeescript

Weekly Downloads

7

Version

1.0.2

License

MIT

Last publish

Collaborators

  • jeffreyway