forked from rdehnhardt/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
68 lines (53 loc) · 1.27 KB
/
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
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
var elixir = require('laravel-elixir');
elixir(function(mix) {
/**
* Back
*/
mix.sass('back.scss', "public/css/back.css");
mix.scripts([
"jquery/dist/jquery.js",
"jquery.easing/jquery.easing.js",
"bootstrap-sass/assets/javascripts/bootstrap.js"
], 'public/js/back/vendor.js', 'node_modules');
mix.scripts([
"back/**/*.js"
], 'public/js/back/app.js', 'resources/assets/js');
/**
* Front
*/
mix.sass('front.scss', "public/css/front.css");
mix.scripts([
"jquery/dist/jquery.js",
"jquery.easing/jquery.easing.js",
"bootstrap-sass/assets/javascripts/bootstrap.js"
], 'public/js/front/vendor.js', 'node_modules');
mix.scripts([
"front/**/*.js"
], 'public/js/front/app.js', 'resources/assets/js');
/**
* Auth
*/
mix.sass('auth.scss', "public/css/auth.css");
mix.scripts([
"jquery/dist/jquery.js",
"jquery.easing/jquery.easing.js",
"bootstrap-sass/assets/javascripts/bootstrap.js"
], 'public/js/auth/vendor.js', 'node_modules');
mix.scripts([
"auth/**/*.js"
], 'public/js/auth/app.js', 'resources/assets/js');
/**
* Version
*/
mix.version([
"css/front.css",
"css/back.css",
"css/auth.css",
"js/back/vendor.js",
"js/back/app.js",
"js/auth/vendor.js",
"js/auth/app.js",
"js/front/vendor.js",
"js/front/app.js"
]);
});