-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathgulpfile.js
42 lines (35 loc) · 1.29 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
var foundation = {
// Base path for Bower components
path: 'resources/assets/bower/foundation/',
// Vendor dependencies
vendor: ['vendor/modernizr.js', 'vendor/jquery.js', 'vendor/fastclick.js'],
// Components
components: [
'foundation/foundation.js',
//'foundation/foundation.abide.js',
//'foundation/foundation.accordion.js',
'foundation/foundation.alert.js',
//'foundation/foundation.clearing.js',
'foundation/foundation.dropdown.js',
//'foundation/foundation.equalizer.js',
//'foundation/foundation.interchange.js',
//'foundation/foundation.joyride.js',
//'foundation/foundation.magellan.js',
'foundation/foundation.offcanvas.js',
//'foundation/foundation.orbit.js',
'foundation/foundation.reveal.js',
//'foundation/foundation.slider.js',
'foundation/foundation.tab.js',
//'foundation/foundation.tooltip.js',
//'foundation/foundation.topbar.js'
]
}
var elixir = require('laravel-elixir');
elixir.config.sourcemaps = false;
elixir(function(mix) {
// Compile CSS
mix.sass('app.scss', 'public/css/foundation.css', {includePaths: [foundation.path + 'scss']});
// Compile JavaScript
mix.scripts(foundation.vendor.concat(foundation.components), 'public/js/foundation.js', foundation.path + 'js');
mix.copy('node_modules/marked/marked.min.js', 'public/js/marked.js');
});