forked from hawind/gdoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
87 lines (67 loc) · 2.6 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
const mix = require('laravel-mix');
mix.js(
'resources/js/app.js',
'public/assets/dist/bundle.min.js'
).vue();
mix.babel([
'public/assets/libs/moment.min.js',
'public/assets/vendor/template.min.js',
'public/assets/vendor/jquery.js',
'public/assets/vendor/jquery-ui.min.js',
'public/assets/vendor/bootstrap/js/bootstrap.js',
'public/assets/vendor/contextmenu/bootstrap-contextmenu.js',
'public/assets/vendor/tempusdominus/tempusdominus-bootstrap.js',
'public/assets/vendor/jquery.qrcode.min.js',
'public/assets/vendor/jquery.colorpicker.js',
'public/assets/vendor/jquery.table2excel.js',
'public/assets/vendor/viewerjs/viewer.js',
'public/assets/vendor/toastr/toastr.js',
'public/assets/vendor/jquery.paging.js',
'public/assets/vendor/select2/select2.js',
'public/assets/vendor/select2/zh-CN.js',
'public/assets/vendor/pcas.js',
'public/assets/vendor/ag-grid/ag-grid.min.js',
],'public/assets/dist/vendor.min.js');
mix.babel([
'public/assets/js/aggrid/celleditor/dropdown.js',
'public/assets/js/aggrid/celleditor/suggest.js',
'public/assets/js/aggrid/form.js',
'public/assets/js/aggrid.js',
'public/assets/js/gdoo.js',
'public/assets/js/select2.js',
'public/assets/js/gdoo.dialog.input.js',
'public/assets/js/search.js',
'public/assets/js/dialog.js',
'public/assets/js/listview.js',
'public/assets/js/model.js',
'public/assets/js/support.js',
],'public/assets/dist/gdoo.min.js');
mix.babel([
'public/assets/libs/modernizr.min.js',
'public/assets/vendor/addtabs/bootstrap.addtabs.js',
'public/assets/js/menu.js',
],'public/assets/dist/index.min.js')
mix.combine([
'public/assets/vendor/ag-grid/ag-grid.css',
'public/assets/vendor/ag-grid/ag-theme-balham.css',
'public/assets/vendor/tempusdominus/tempusdominus-bootstrap.css',
'public/assets/vendor/bootstrap/css/font-awesome.min.css',
'public/assets/vendor/bootstrap/css/animate.css',
'public/assets/vendor/bootstrap/css/bootstrap.css',
'public/assets/vendor/bootstrap/css/glyphicon.css',
'public/assets/vendor/bootstrap/css/bootstrap-icons.css',
'public/assets/vendor/toastr/toastr.css',
'public/assets/vendor/viewerjs/viewer.css',
'public/assets/vendor/select2/select2.css',
],'public/assets/dist/vendor.min.css')
mix.combine([
'public/assets/css/reset.css',
'public/assets/css/gdoo.css',
'public/assets/css/aggrid.css',
],'public/assets/dist/gdoo.min.css')
mix.combine([
'public/assets/css/menu.css',
],'public/assets/dist/index.min.css');
if (mix.inProduction()) {
mix.version();
}