This repository has been archived by the owner on May 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
gulpfile.js
61 lines (51 loc) · 2 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
|--------------------------------------------------------------------------
| 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.
|
*/
// Disable notify-send
process.env.DISABLE_NOTIFIER = true;
var elixir = require('laravel-elixir');
elixir.config.sourcemaps = false;
elixir(function(mix) {
mix.sass([
'global.scss'
], 'public/assets/css/global.css');
mix.sass([
'error.scss'
], 'public/assets/css/error.css');
mix.sass('thumbnailhover.scss', 'public/assets/css/thumbnailhover.css');
mix.styles([
'../../../node_modules/dropzone/dist/basic.css'
], 'public/assets/css/dropzone.css');
mix.scripts('thumbnailhover.js', 'public/assets/js/thumbnailhover.js');
mix.scripts([
'../../../node_modules/dropzone/dist/dropzone.js',
'dropzone.js'
], 'public/assets/js/dropzone.js');
mix.scripts([
'../../../node_modules/jquery/dist/jquery.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js',
'../../../node_modules/bootstrap-sass/assets/javascripts/bootstrap/alert.js',
'global.js'
], 'public/assets/js/global.js');
mix.version([
'assets/css/global.css',
'assets/css/error.css',
'assets/js/thumbnailhover.js',
'assets/css/thumbnailhover.css',
'assets/css/dropzone.css',
'assets/js/global.js',
'assets/js/dropzone.js',
'assets/img/favicon.png',
'assets/img/thumbnail.png'
]);
});