forked from austintoddj/canvas
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
executable file
·58 lines (50 loc) · 1.66 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
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) {
// Sass Files
mix.sass('frontend/frontend.scss');
mix.sass('backend/backend.scss');
mix.sass('../talvbansal/media-manager/css/media-manager.css');
// Frontend JS Files
mix.scripts([
'jquery.min.js',
'bootstrap.min.js',
'frontend/**/*.js'
], 'public/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',
'sweet-alert.min.js',
'waves.js',
'jsvalidation.js',
'jquery.mCustomScrollbar.concat.min.js',
'fileinput.min.js',
'bootstrap-datetimepicker.min.js',
'../talvbansal/media-manager/js/media-manager.js'
], 'public/js/vendor.js');
// Application JS Files
mix.scripts([
'functions.js',
'bootstrap-growl.min.js'
], 'public/js/app.js');
// Copy Media Manager SVG images into the public directory
mix.copy( 'resources/assets/talvbansal/media-manager/fonts', 'public/fonts' );
});