-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgulpfile.js
More file actions
24 lines (21 loc) · 819 Bytes
/
gulpfile.js
File metadata and controls
24 lines (21 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 Sass
| file for our application, as well as publishing vendor resources.
|
*/
var paths = {
bootstrap: 'node_modules/bootstrap-sass/assets',
jquery: 'node_modules/jquery/dist'
};
elixir(function(mix) {
mix.sass(['app.scss', 'fonts'])
.copy(paths.bootstrap + '/javascripts/bootstrap.min.js', 'public/js')
.copy(paths.bootstrap + '/fonts', 'public/fonts')
.copy(paths.jquery + '/jquery.min.*', 'public/js');
});