This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
executable file
·48 lines (43 loc) · 1.75 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
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Path Configuration
|--------------------------------------------------------------------------
*/
elixir.config.assetsPath = 'resources/assets';
elixir.config.css.sass.folder = 'sass';
elixir.config.css.outputFolder = 'content/themes/default/assets/css';
elixir.config.js.outputFolder = 'content/themes/default/assets/js';
elixir.config.versioning.buildFolder = '';
/*
|--------------------------------------------------------------------------
| Additional Options
|--------------------------------------------------------------------------
*/
var bower_path = '../bower_components/';
var npm_path = '../../../node_modules/';
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
*/
elixir(function(mix) {
mix.sass('app.scss')
.browserify('app.js', elixir.config.assetsPath + '/js/compiled/app.compiled.js')
.scripts([
npm_path+'jquery/dist/jquery.min.js',
npm_path+'bootstrap-sass/assets/javascripts/bootstrap.min.js',
npm_path+'jquery.scrollTo/jquery.scrollTo.min.js',
npm_path+'jquery.localScroll/jquery.localScroll.min.js',
npm_path+'jquery.easing/jquery.easing.min.js',
npm_path+'fancybox/dist/js/jquery.fancybox.pack.js',
'compiled/app.compiled.js'
]);
// .browserSync({
// proxy: "domain.de.local"
// })
// .version([
// '/' + elixir.config.css.outputFolder + '/app.css',
// '/' + elixir.config.js.outputFolder + '/all.js'
// ]);
});