forked from 4nd/phpbelfast-framework
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgulpfile.js
More file actions
36 lines (28 loc) · 1 KB
/
gulpfile.js
File metadata and controls
36 lines (28 loc) · 1 KB
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-caddysync');
/*
|--------------------------------------------------------------------------
| 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.assetsPath='assets';
elixir.config.appPath='PhpBelfast';
elixir.config.viewPath='views';
elixir(mix => {
// Fonts.
mix.copy('./bower_components/bootstrap/fonts/**', 'public/fonts');
// Application LESS.
mix.less('app.less', 'public/css/');
mix.scripts([
'./bower_components/jquery/dist/jquery.js',
'./bower_components/bootstrap/dist/js/bootstrap.js',
'resources/assets/js/**/*.js'
], 'public/js/app.js', './');
// Initialize BrowserSync.
mix.caddySync();
});