-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgulpfile.js
More file actions
81 lines (66 loc) · 1.72 KB
/
gulpfile.js
File metadata and controls
81 lines (66 loc) · 1.72 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
var elixir = require('laravel-elixir');
var path = 'public/assets';
var bower = '../bower_components';
/*
|--------------------------------------------------------------------------
| 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.
|
*/
// CSS
elixir(function(mix) {
mix.sass([
bower + '/normalize.css/normalize.css',
bower + '/slicknav/dist/slicknav.min.css',
bower + '/font-awesome/css/font-awesome.min.css',
] , path + '/css/vendor.css');
});
elixir(function(mix) {
mix.sass([
'app.scss',
] , path + '/css/app.css');
});
// elixir(function(mix) {
// mix.sass([
// bower + 'plugin/just-in-home-page/home.min.css',
// ] , path + '/css/vendor-home.css');
// });
elixir(function(mix) {
mix.sass([
'home.scss',
] , path + '/css/home.css');
});
// SCRIPTS
elixir(function(mix) {
mix.scripts([
bower + '/slicknav/dist/jquery.slicknav.min.js',
bower + '/jquery-1.9.1/index.js',
] , path + '/js/vendor.js');
});
elixir(function(mix) {
mix.scripts([
bower + '/modernizr/modernizr.js'
] , path + '/js/modernizr.js');
});
elixir(function(mix) {
mix.scripts([
'app.js',
] , path + '/js/app.js');
});
// HOME
// elixir(function(mix) {
// mix.scripts([
// bower + '/bxslider-4/dist/jquery.bxslider.min.js',
// ] , path + '/js/vendor-home.js');
// });
elixir(function(mix) {
mix.scripts([
// bower + '/bxslider-4/dist/jquery.bxslider.min.js',
'home.js',
] , path + '/js/home.js');
});
// END HOME