-
Notifications
You must be signed in to change notification settings - Fork 2
/
gulpfile.js
36 lines (32 loc) · 1.3 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
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
/*
|--------------------------------------------------------------------------
| 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(mix => {
mix.scripts([
'../../../node_modules/jquery/dist/jquery.js',
'../../../node_modules/jquery-ui/ui/jquery-1-7.js',
'../../../node_modules/moment/moment.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap.js',
'../../../node_modules/datatables.net/js/jquery.dataTables.js',
'../../../node_modules/datatables.net-bs/js/dataTables.bootstrap.js',
'../../../node_modules/chart.js/dist/Chart.js',
'../../../node_modules/fabric/dist/fabric.js',
'../../../node_modules/d3/build/d3.js',
'../../../node_modules/d3-cloud/build/d3.layout.cloud.js',
'*.js'
], 'public/js/cdb.js')
.sass('resources/assets/sass/app.scss', 'public/css/cdb.css')
.copy([
'./node_modules/bootstrap-sass/assets/fonts/bootstrap',
'./node_modules/font-awesome/fonts'
], 'public/fonts');
});