-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
55 lines (47 loc) · 1.88 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
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
/*mix.styles([
'resources/assets/bootstrap/css/bootstrap.min.css',
'resources/assets/font-awesome/4.5.0/css/font-awesome.min.css',
'resources/assets/ionicons/2.0.1/css/ionicons.min.css',
'resources/assets/dist/css/AdminLTE.min.css',
'resources/assets/dist/css/skins/_all-skins.min.css',
],'public/css/admin.css');
mix.scripts([
'resources/assets/plugins/jQuery/jquery-2.2.3.min.js',
'resources/assets/bootstrap/js/bootstrap.min.js',
'resources/assets/plugins/slimScroll/jquery.slimscroll.min.js',
'resources/assets/plugins/fastclick/fastclick.js',
'resources/assets/dist/js/app.min.js',
'resources/assets/dist/js/demo.js',
],'public/js/admin.js');
mix.styles([
'resources/pages/css/bootstrap.min.css',
'resources/pages/css/font-awesome.min.css',
'resources/pages/css/animate.min.css',
'resources/pages/css/owl.carousel.css',
'resources/pages/css/owl.theme.css',
'resources/pages/css/owl.transitions.css',
'resources/pages/css/style.css',
'resources/pages/css/responsive.css',
],'public/css/blog.css');
*/
mix.scripts([
'resources/pages/js/jquery-1.11.3.min.js',
'resources/pages/js/bootstrap.min.js',
'resources/pages/js/menu.js',
'resources/pages/js/scripts.js',
'resources/pages/js/owl.carousel.min.js',
'resources/pages/js/jquery.stickit.min.js',
],'public/js/blog.js');
mix.copy('resources/pages/images','public/images');
mix.copy('resources/pages/fonts','public/font');