-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
executable file
·68 lines (63 loc) · 2.91 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
64
65
66
67
68
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.js('resources/js/app.js', 'public/js')
// .sass('resources/sass/app.scss', 'public/css');
mix.styles([
'resources/admin/assets/bootstrap/css/bootstrap.min.css',
'resources/admin/assets/font-awesome/4.5.0/css/font-awesome.min.css',
'resources/admin/assets/ionicons/2.0.1/css/ionicons.min.css',
'resources/admin/assets/plugins/iCheck/minimal/_all.css',
'resources/admin/assets/plugins/datepicker/datepicker3.css',
'resources/admin/assets/plugins/select2/select2.min.css',
'resources/admin/assets/plugins/datatables/dataTables.bootstrap.css',
'resources/admin/assets/dist/css/AdminLTE.min.css',
'resources/admin/assets/dist/css/skins/_all-skins.min.css'
], 'public/css/admin.css');
mix.scripts([
'resources/admin/assets/plugins/jQuery/jquery-2.2.3.min.js',
'resources/admin/assets/bootstrap/js/bootstrap.min.js',
'resources/admin/assets/plugins/select2/select2.full.min.js',
'resources/admin/assets/plugins/datepicker/bootstrap-datepicker.js',
'resources/admin/assets/plugins/datatables/jquery.dataTables.min.js',
'resources/admin/assets/plugins/datatables/dataTables.bootstrap.min.js',
'resources/admin/assets/plugins/slimScroll/jquery.slimscroll.min.js',
'resources/admin/assets/plugins/fastclick/fastclick.js',
'resources/admin/assets/plugins/iCheck/icheck.min.js',
'resources/admin/assets/dist/js/app.min.js',
'resources/admin/assets/dist/js/demo.js',
'resources/admin/assets/dist/js/scripts.js'
], 'public/js/admin.js');
mix.copy('resources/admin/assets/bootstrap/fonts', 'public/fonts');
mix.copy('resources/admin/assets/dist/fonts', 'public/fonts');
mix.copy('resources/admin/assets/dist/img', 'public/img');
mix.copy('resources/admin/assets/plugins/iCheck/minimal/blue.png', 'public/css');
mix.copy('resources/admin/assets/dist/img', 'public/img');
mix.styles([
'resources/front/css/bootstrap.min.css',
'resources/front/css/font-awesome.min.css',
'resources/front/css/animate.min.css',
'resources/front/css/owl.carousel.css',
'resources/front/css/owl.theme.css',
'resources/front/css/owl.transitions.css',
'resources/front/css/style.css',
'resources/front/css/responsive.css',
], 'public/css/home.css');
mix.scripts([
'resources/front/js/jquery-1.11.3.min.js',
'resources/front/js/bootstrap.min.js',
'resources/front/js/owl.carousel.min.js',
'resources/front/js/jquery.stickit.min.js',
'resources/front/js/menu.js',
'resources/front/js/scripts.js'
], 'public/js/home.js');
mix.copy('resources/front/fonts','public/fonts');
mix.copy('resources/front/images','public/images');