forked from jamalsa/laravel.com
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgulpfile.js
20 lines (18 loc) · 852 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
mix.sass('laravel.scss', 'public/assets/css');
mix.scripts(['jquery.js', 'plugins/prism.js', 'plugins/bootstrap.js', 'plugins/scotchPanels.js', 'plugins/algoliasearch.js', 'plugins/typeahead.js', 'plugins/hogan.js', 'laravel.js'],
'public/assets/js/laravel.js',
'resources/assets/js/');
mix.version(['assets/css/laravel.css', 'assets/js/laravel.js']);
});