-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
39 lines (33 loc) · 1.45 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
let elixir = require('laravel-elixir');
elixir.config.sourcemaps = false;
/*
|--------------------------------------------------------------------------
| 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(mix => {
mix.sass('tesseract.scss');
mix.styles([
'/../../../node_modules/normalize.css/normalize.css',
'/../../../node_modules/tether/dist/css/tether-theme-arrows',
'/../../../node_modules/tether-drop/dist/css/drop-theme-arrows.css',
'/../../../node_modules/tether-tooltip/dist/css/tooltip-theme-arrows.css',
'/../../../node_modules/bootstrap/dist/css/bootstrap.css',
'/../../../node_modules/font-awesome/css/font-awesome.css',
'/../../../node_modules/animate.css/animate.css',
'/../../../node_modules/select2/dist/css/select2.css',
'/../../../node_modules/sweetalert2/dist/sweetalert2.min.css'
], 'public/css/app.css');
mix.browserify('app.js');
mix.scripts([
'/../../../node_modules/masonry-layout/dist/masonry.pkgd.min.js',
'vendor/parallax.js',
'vendor/wordrotate.js'
], 'public/js/tesseract.js');
mix.copy('node_modules/font-awesome/fonts', 'public/fonts');
});