forked from monicahq/monica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
45 lines (34 loc) · 1.31 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
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
elixir((mix) => {
// JS
//mix.copy('resources/vendor/vue/dist/vue.js', 'resources/assets/js/vendors/');
//mix.copy('resources/vendor/vue-resource/dist/vue-resource.js', 'resources/assets/js/vendors/');
//mix.copy('resources/vendor/trix/dist/trix-core.js/', 'resources/assets/js/vendors/');
//mix.copy('resources/vendor/trix/dist/trix.js/', 'resources/assets/js/vendors/');
// // CSS
// mix.copy('resources/vendor/font-awesome/fonts/', 'public/fonts/fontawesome/');
// mix.webpack([
// 'vendors/vue.js',
// 'vendors/vue-resource.js',
// // 'vendors/trix-core.js',
// // 'vendors/trix.js',
// // 'app/people/people.show.js',
// // 'app/people/people.index.js',
// 'app/people/dashboard.js',
// ]);
mix.copy('resources/vendor/jquery/dist/jquery.min.js', 'resources/assets/js/vendors/');
mix.copy('resources/vendor/typeahead.js/dist/typeahead.bundle.min.js', 'resources/assets/js/vendors/');
mix.sass('app.scss')
.webpack([
'app.js',
'vendors/jquery.min.js',
'vendors/typeahead.bundle.min.js',
]);
//mix.phpUnit();
mix.version([
'css/app.css',
'js/app.js'
]);
//mix.phpUnit();
});