-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
23 lines (21 loc) · 924 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var elixir = require('laravel-elixir'),
bowerDir = 'vendor/bower_components/',
materialDir = bowerDir + 'materialize/dist/';
/*
|--------------------------------------------------------------------------
| 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 Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function (mix) {
mix.sass('app.scss')
.copy(bowerDir + 'jquery/dist/jquery.min.js', 'public/js/vendor/jquery.js')
.copy(materialDir + 'js/materialize.min.js', 'public/js/vendor/materialize.js')
.copy(materialDir + 'css/materialize.min.css','public/css/materialize.css')
.stylesIn('public/css')
.scriptsIn('public/js/vendor');
});