This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
webpack.mix.js
54 lines (44 loc) · 1.82 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
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.
|
*/
/* FOR ADMIN PANEL */
mix.styles([
'resources/assets/admin/css/bootstrap.min.css',
'resources/assets/admin/css/ionicons.min.css',
'resources/assets/admin/css/jquery-jvectormap.css',
'resources/assets/admin/css/AdminLTE.min.css',
'resources/assets/admin/css/_all-skins.min.css',
'resources/assets/admin/css/jquery-confirm.min.css',
], 'public/assets/css/all.css');
mix.js([
'resources/assets/admin/js/common.js',
], 'public/assets/admin/js/scripts.js');
mix.scripts([
'resources/assets/admin/vendor/js/jquery.min.js',
'resources/assets/admin/vendor/js/bootstrap.min.js',
'resources/assets/admin/vendor/js/fastclick.js',
'resources/assets/admin/vendor/js/adminlte.min.js',
'resources/assets/admin/vendor/js/jquery.sparkline.min.js',
'resources/assets/admin/vendor/js/jquery.slimscroll.min.js',
'resources/assets/admin/vendor/js/jquery-confirm.min.js',
'resources/assets/admin/js/images.js',
'resources/assets/admin/vendor/js/ckeditor.js',
], 'public/assets/admin/js/all.js');
/* FOR SHOP CLIENT INTERFACE */
mix.styles([
'resources/assets/shop/css/shop-homepage.css',
'resources/assets/shop/vendor/swiper/swiper.min.css',
], 'public/assets/shop/css/all.css');
mix.js([
'resources/assets/shop/js/common.js',
], 'public/assets/shop/js/scripts.js');
/* FONTAWESOME 5 & BOOTSTRAP 4.1.3 */
mix.sass('resources/sass/app.scss', 'public/css');