-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
25 lines (22 loc) · 1.01 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
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 your application as well as publishing vendor resources.
|
*/
elixir((mix) => {
mix.sass('app.scss', 'public/css/plugins.css')
.less('app.less', 'public/css/theme.css')
.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap', 'public/fonts/bootstrap')
.copy('node_modules/font-awesome/fonts', 'public/fonts/font-awesome')
.copy('node_modules/ionicons/dist/fonts', 'public/fonts/ionicons')
.copy('node_modules/icheck/skins/square/*.png', 'public/img/checkboxes')
.webpack('app.js')
.version(['css/plugins.css', 'css/theme.css', 'js/app.js']);
});