forked from g33kidd/easel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
64 lines (53 loc) · 1.67 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
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
var assetsPath = 'public/assets/';
elixir(function (mix) {
// Sass files
mix.sass('frontend/frontend.scss', assetsPath + 'css/');
mix.sass('backend/backend.scss', assetsPath + 'css/');
mix.sass('../talvbansal/media-manager/css/media-manager.css', assetsPath + 'css/');
// Frontend JS files
mix.scripts([
'jquery.min.js',
'bootstrap.min.js',
'frontend/**/*.js'
], assetsPath + 'js/frontend.js');
// Vendor JS files
mix.scripts([
'jquery.min.js',
'bootstrap.min.js',
'moment.min.js',
'simplemde.min.js',
'autosize.min.js',
'bootstrap-select.js',
'jquery.mask.min.js',
'chosen.jquery.min.js',
'jquery.bootgrid.min.js',
'lightgallery.min.js',
'waves.js',
'jquery.mCustomScrollbar.concat.min.js',
'fileinput.min.js',
'bootstrap-datetimepicker.min.js',
'../talvbansal/media-manager/js/media-manager.js'
], assetsPath + 'js/vendor.js');
// Application JS files
mix.scripts([
'functions.js',
'bootstrap-growl.min.js'
], assetsPath + 'js/app.js');
// Copy fonts
mix.copy([
'resources/assets/fonts',
'resources/assets/talvbansal/media-manager/fonts'
], assetsPath + '/fonts');
// Version the assets
mix.version([
// CSS files
assetsPath + 'css/frontend.css',
assetsPath + 'css/backend.css',
// JS files
assetsPath + 'js/frontend.js',
assetsPath + 'js/vendor.js',
assetsPath + 'js/app.js'
]);
});