-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
57 lines (51 loc) · 1.69 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
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) {
mix.scripts(
[
'vendor/jquery/jquery-2.1.1.min.js',
'vendor/bootstrap/bootstrap.min.js',
'vendor/select2/select2.min.js',
'vendor/moment/moment.min.js',
'vendor/datetimepicker/datetimepicker.js',
'vendor/datatables/jquery.datatables.min.js',
'vendor/sweetalert/sweetalert.min.js',
'vendor/autogrow/jquery.autogrow.min.js',
'vendor/toastr/toastr.min.js',
'vendor/tagsinput/tagsinput.js',
'vendor/chartjs/chart.min.js',
'main.js',
],
'resources/assets',
'public/dist/app.min.js'
);
mix.styles(
[
'vendor/bootstrap/bootstrap.min.css',
'vendor/select2/select2.css',
'vendor/datetimepicker/datetimepicker.css',
'vendor/datatables/jquery.datatables.min.css',
'vendor/sweetalert/sweetalert.min.css',
'vendor/toastr/toastr.min.css',
'vendor/tagsinput/tagsinput.css',
],
'resources/assets',
'public/dist/vendor.min.css'
);
mix.styles(
[
'main.css',
],
'resources/assets',
'public/dist/app.min.css'
);
});