-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
gulpfile.vendor.js
46 lines (40 loc) · 1.75 KB
/
gulpfile.vendor.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 dir, 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.
|
*/
dir = require('./paths.js')
elixir.config.sourcemaps = false
elixir(function(mix) {
mix.copy(dir.vendor+'/font-awesome/fonts', dir.build.font)
.copy(dir.vendor+'/select2/select2-spinner.gif', dir.build.css)
.copy(dir.vendor+'/select2/select2.png', dir.build.css)
.copy(dir.vendor+'/select2/select2x2.png', dir.build.css)
.copy(dir.vendor+'/html5shiv/dist/html5shiv.min.js', dir.build.js+'/html5shiv.js')
mix.styles([
dir.vendor+'/select2/select2.css',
dir.vendor+'/select2/select2-bootstrap.css',
dir.vendor+'/perfect-scrollbar/css/perfect-scrollbar.css',
dir.build.vendor+'/delta/theme/jquery-ui.css'
], dir.build.vendor+'/vendor.css', './')
mix.scripts([
dir.vendor+'/jquery/jquery.min.js',
dir.vendor+'/underscore/underscore-min.js',
dir.vendor+'/moment/min/moment.min.js',
dir.vendor+'/javie/dist/javie.min.js',
dir.vendor+'/bootstrap/dist/js/bootstrap.min.js',
dir.vendor+'/select2/select2.min.js',
dir.vendor+'/mousetrap/mousetrap.min.js',
dir.vendor+'/clipboard/dist/clipboard.min.js',
dir.vendor+'/Chart.js/dist/Chart.min.js',
dir.build.vendor+'/jquery.ui/jquery.ui.js',
dir.build.vendor+'/delta/js/jquery-ui.toggleSwitch.js',
dir.vendor+'/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js'
], dir.build.vendor+'/vendor.js', './')
});