-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
63 lines (59 loc) · 2.18 KB
/
webpack.mix.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
62
63
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.styles([
'resources/css/libs/fonts.css',
'resources/css/admin/jquery-ui.css',
'resources/css/libs/icofont.min.css',
'resources/css/libs/boxicons.min.css',
'resources/css/libs/owl.carousel.min.css',
'resources/css/libs/aos.css',
'resources/css/libs/style.css',
'resources/css/libs/events.css',
'resources/css/libs/hero-slider-style.css',
'resources/css/libs/gallery-style.css',
'resources/css/libs/custom.css',
'resources/css/libs/photoswipe.css',
'resources/css/libs/default-skin.css',
'resources/css/libs/faq.css',
], 'public/css/main.css');
mix.scripts([
'resources/js/admin/jquery-ui.min.js',
'resources/js/libs/validate.js',
'resources/js/libs/owl.carousel.min.js',
'resources/js/libs/isotope.pkgd.min.js',
'resources/js/libs/aos.js',
'resources/js/libs/hero-slider-main.js',
'resources/js/libs/photoswipe-ui-default.min.js',
'resources/js/libs/photoswipe.min.js',
'resources/js/libs/main.js',
'resources/js/libs/custom.js',
'resources/js/libs/faq.js',
], 'public/js/main.js');
// Admin
mix.styles([
'resources/css/libs/fonts.css',
'resources/css/libs/font-awesome.css',
'resources/css/admin/datatables.css',
'resources/css/admin/jquery-ui.css',
'resources/css/admin/fontastic.css',
'resources/css/admin/jquery.mCustomScrollbar.css',
'resources/css/admin/style.default.premium.css',
'resources/css/libs/events.css',
'resources/css/libs/custom.css',
], 'public/css/admin.css');
mix.scripts([
'resources/js/admin/jquery-ui.min.js',
'resources/js/admin/datatables.js',
'resources/js/admin/jquery.mCustomScrollbar.js',
'resources/js/admin/front.js',
'resources/js/admin/jqBootstrapValidation.js',
], 'public/js/admin.js');