-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
56 lines (50 loc) · 2.4 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
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.config.jsOutput = 'public/js';
elixir.config.cssOutput = 'public/css';
elixir(function (mix) {
// mix.sass('app.scss');
mix.scripts([
'./resources/scripts/bower_components/angular/angular.js',
'./resources/scripts/bower_components/angular-animate/angular-animate.js',
'./resources/scripts/bower_components/angular-aria/angular-aria.js',
'./resources/scripts/bower_components/angular-material/angular-material.js',
//'./resources/scripts/bower_components/angular-route/angular-route.js',
'./resources/scripts/bower_components/angular-ui-router/release/angular-ui-router.js',
'./resources/scripts/bower_components/angular-ui/build/angular-ui.js',
'./resources/scripts/bower_components/satellizer/satellizer.js',
'./resources/scripts/bower_components/angular-permission/dist/angular-permission.js',
'./resources/scripts/bower_components/underscore/underscore.js',
'./resources/scripts/main/app.js',
'./resources/scripts/main/controllers.js',
'./resources/scripts/main/HomeCtrl.js',
'./resources/scripts/main/LoginCtrl.js',
'./resources/scripts/main/LoginCtrl.js',
'./resources/scripts/main/LogoutCtrl.js',
'./resources/scripts/main/ToolsCtrl.js',
'./resources/scripts/utils/jquery-1.11.3.min.js',
'./resources/scripts/utils/jquery-ui.min.js',
'./resources/scripts/utils/highcharts.js',
'./resources/scripts/utils/highcharts-more.js',
]);
mix.styles([
'./resources/scripts/bower_components/angular-material/angular-material.min.css',
'./resources/scripts/bower_components/angular-material/angular-material.layouts.min.css',
//'./resources/assets/sass/style.css',
]);
mix.sass('app.scss');
mix.copy('./resources/views/templates/*.html', 'public/views/');
// Application Scripts
/* mix.scripts([
'../../../resources/scripts/app.js'
], 'public/js/app.js');*/
});