-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
33 lines (28 loc) · 1.04 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
var gulp = require('gulp');
var elixir = require('laravel-elixir');
gulp.task("copyfiles", function() {
gulp.src("bower_components/jquery/dist/jquery.min.js")
.pipe(gulp.dest("resources/assets/vendor/js/"));
gulp.src("node_modules/foundation-sites/dist/foundation.min.js")
.pipe(gulp.dest("resources/assets/vendor/js/"));
})
/*
|--------------------------------------------------------------------------
| 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) {
mix.scripts([
'js/jquery.min.js',
'js/foundation.min.js',
], 'public/assets/js/site.js',
'resources/assets/vendor'
);
mix.sass('app.scss', 'public/assets/css', { includePaths: ['node_modules/foundation-sites/scss/']})
.browserSync({proxy: 'mv.dev'});
});