forked from webhooksite/webhook.site
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
21 lines (19 loc) · 808 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var elixir = require('laravel-elixir');
require("laravel-elixir-webpack");
/*
|--------------------------------------------------------------------------
| 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.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap', 'public/fonts/bootstrap');
mix.copy('node_modules/socket.io-client/dist/socket.io.js*', 'public/js');
mix.sass('app.scss');
mix.browserify(['libs.js'], 'public/js/libs.js');
mix.browserify(['echo.js', 'app.js']);
});