forked from giggsey/libphonenumber-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
26 lines (23 loc) · 919 Bytes
/
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
var elixir = require('laravel-elixir');
var paths = {
'jquery': './bower_components/jquery/',
'bootstrap': './bower_components/bootstrap-sass-official/assets/',
'fontawesome': './bower_components/fontawesome/',
'flags': './bower_components/world-flags-sprite/images/'
};
elixir.config.publicDir = './';
elixir(function(mix) {
mix.sass('*', 'css/', {includePaths: [paths.bootstrap + 'stylesheets', paths.fontawesome + 'scss']})
.copy(paths.bootstrap + 'fonts/bootstrap/**', 'fonts/bootstrap')
.copy(paths.fontawesome + 'fonts/**', 'fonts/fontawesome')
.copy(paths.flags + '**', 'images/')
.scripts([
paths.jquery + "dist/jquery.js",
paths.bootstrap + "javascripts/bootstrap.js",
'./resources/javascripts/**/*.js',
], 'js/app.js', './')
.version([
'css/app.css',
'js/app.js'
])
});