-
Notifications
You must be signed in to change notification settings - Fork 46
/
webpack.mix.js
104 lines (84 loc) · 4.11 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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.js('resources/js/app.js', 'public/js').vue();
// JQuery
mix.copy('node_modules/jquery/dist/jquery.min.map','public/js');
mix.copy('node_modules/jquery/dist/jquery.min.js','public/js');
// Bootstrap
mix.copy('node_modules/bootstrap/dist/css/bootstrap.min.css','public/css');
mix.copy('node_modules/bootstrap/dist/css/bootstrap.min.css.map','public/css');
mix.copy('node_modules/bootstrap/dist/js/bootstrap.bundle.min.js','public/js');
mix.copy('node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map','public/js');
// Fontawesome
mix.copy('node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css','public/css');
mix.copy('node_modules/@fortawesome/fontawesome-free/css/all.min.css','public/css');
mix.copy('node_modules/@fortawesome/fontawesome-free/webfonts/*','public/webfonts');
/*
// bootstrap-datetimepicker
mix.copy('node_modules/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js','public/js');
// popper
mix.copy('node_modules/@popperjs/core/dist/umd/popper.min.js','public/js');
mix.copy('node_modules/@popperjs/core/dist/umd/popper.min.js.map','public/js');
*/
// coreui
/*
mix.copy('node_modules/@coreui/coreui/dist/css/coreui.min.css','public/css');
mix.copy('node_modules/@coreui/coreui/dist/css/coreui.min.css.map','public/css');
mix.copy('node_modules/@coreui/coreui/dist/js/coreui.bundle.min.js','public/js');
mix.copy('node_modules/@coreui/coreui/dist/js/coreui.bundle.min.js.map','public/js');
*/
/*
mix.copy('node_modules/@coreui/coreui/dist/js/bootstrap.bundle.min.js','public/js');
mix.copy('node_modules/@coreui/coreui/dist/js/bootstrap.bundle.min.js.map','public/js');
*/
/*
// dataTables
mix.copy('node_modules/datatables.net/js/dataTables.min.js','public/js');
mix.copy('node_modules/datatables.net-select/js/dataTables.select.min.js','public/js');
mix.copy('node_modules/datatables.net-bs5/js/dataTables.bootstrap5.js','public/js');
mix.copy('node_modules/datatables.net-buttons/js/dataTables.buttons.min.js','public/js');
mix.copy('node_modules/datatables.net-searchbuilder/js/dataTables.searchBuilder.min.js','public/js');
mix.copy('node_modules/datatables.net-buttons/js/buttons.colVis.min.js','public/js');
mix.copy('node_modules/datatables.net-buttons/js/buttons.html5.min.js','public/js');
mix.copy('node_modules/datatables.net-buttons/js/buttons.print.min.js','public/js');
// JSZip
mix.copy('node_modules/jszip/dist/jszip.min.js','public/js');
// PDFMake
mix.copy('node_modules/pdfmake/build/pdfmake.min.js','public/js');
mix.copy('node_modules/pdfmake/build/pdfmake.min.js.map','public/js');
mix.copy('node_modules/pdfmake/build/vfs_fonts.js','public/js');
*/
// select2
/*
mix.copy('node_modules/select2/dist/js/select2.full.min.js','public/js');
mix.copy('node_modules/select2/dist/css/select2.min.css','public/css');
*/
/*
// Chartjs
mix.copy('node_modules/chartjs/chart.js','public/js');
// DropZone
mix.copy('node_modules/dropzone/dist/dropzone-min.js','public/js');
mix.copy('node_modules/dropzone/dist/dropzone-min.js.map','public/js');
mix.copy('node_modules/dropzone/dist/dropzone.css','public/css');
mix.copy('node_modules/dropzone/dist/dropzone.css.map','public/css');
// SweetAlert2
mix.copy('node_modules/sweetalert2/dist/sweetalert2.min.js','public/js');
mix.copy('node_modules/sweetalert2/dist/sweetalert2.css','public/css');
// CKEditor
mix.copy('node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js','public/js');
mix.copy('node_modules/@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css','public/css');
*/
// Moment
mix.copy('node_modules/moment/min/moment.min.js','public/js');
mix.copy('node_modules/moment/min/moment.min.js.map','public/js');