forked from r3k4/pos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
46 lines (33 loc) · 1.1 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
var elixir = require('laravel-elixir');
elixir(function(mix) {
mix.sass(['app.scss'], 'resources/assets/css/');
//merge css
mix.styles([
'animate.css/animate.css',
'hover/hover.min.css',
'sweetalert/sweetalert.css',
'bootstrap-datetimepicker/bootstrap-datetimepicker.min.css',
'sidebar.css',
'app.css',
'sticky-footer.css',
'custom.css',
]);
//merge script js
mix.scripts(['jquery/jquery.min.js',
'pace/pace.min.js',
'moment/moment.min.js',
'moment/locales.js',
'bootstrap/bootstrap.min.js',
'wow/dist/wow.min.js',
'bootstrap-datetimepicker/bootstrap-datetimepicker.min.js',
'sweetalert.min.js',
'custom.js'
],
'public/js/app.js');
//copy font ke build
mix.copy('node_modules/bootstrap-sass/assets/fonts', 'public/build/css/fonts');
mix.copy('node_modules/font-awesome/fonts', 'public/build/fonts');
// mix.browserify('vue-main.js');
//version
mix.version(['css/all.css', 'js/app.js']);
});