-
Notifications
You must be signed in to change notification settings - Fork 6
/
gulpfile.js
25 lines (21 loc) · 897 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
24
25
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.
|
*/
elixir(function(mix) {
var boostrapPath = 'node_modules/bootstrap-sass/assets';
mix.sass('bootstrap.scss')
.copy(boostrapPath + '/fonts', 'public/fonts')
.copy(boostrapPath + '/javascripts/bootstrap.min.js', 'public/js');
mix.sass('global.scss');
var jqueryPath = 'bower_components/jquery/dist';
mix.copy(jqueryPath + '/jquery.min.js', 'public/js');
mix.copy(jqueryPath + '/jquery.min.map', 'public/js');
});