forked from someline/someline-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile_theme.js
39 lines (33 loc) · 1.37 KB
/
gulpfile_theme.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
var elixir = require('laravel-elixir');
var gulp = require("gulp");
/*
|--------------------------------------------------------------------------
| 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) {
// less
mix.less('../angulr/css/less/app.less', 'resources/assets/angulr/css/');
// styles
mix.styles([
'public/vendors/bower_components/bootstrap/dist/css/bootstrap.css',
'public/vendors/bower_components/animate.css/animate.css',
'public/vendors/bower_components/font-awesome/css/font-awesome.css',
'public/vendors/bower_components/simple-line-icons/css/simple-line-icons.css',
'resources/assets/angulr/css/*.css'
], 'public/css/theme.src.css', './');
// scripts
mix.scripts([
'public/vendors/bower_components/jquery/dist/jquery.min.js',
'public/vendors/bower_components/bootstrap/dist/js/bootstrap.min.js',
'resources/assets/angulr/js/support/ui-*.js',
], 'public/js/theme.src.js', './');
// copy necessary fonts
gulp.src('public/fonts/**')
.pipe(gulp.dest('public/build/fonts'));
});