This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 365
/
webpack.mix.js
executable file
·116 lines (103 loc) · 3.49 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
105
106
107
108
109
110
111
112
113
114
115
116
var mix = require('laravel-mix');
mix.options({
manifest: false,
processCssUrls: false,
});
mix.less(
'resources/assets/less/style.less',
'resources/tmp/css/style.css',
);
mix.less(
'node_modules/bootstrap-lightbox/less/bootstrap-lightbox.less',
'resources/tmp/css/lib.css',
);
mix.styles(
[
'node_modules/bootstrap/docs/assets/css/bootstrap.css',
'node_modules/bootstrap/docs/assets/css/bootstrap-responsive.css',
'node_modules/bootstrap-modal/css/bootstrap-modal.css',
'node_modules/featherlight/src/featherlight.css',
'node_modules/jquery-contextmenu/dist/jquery.contextMenu.css',
'node_modules/tui-color-picker/dist/tui-color-picker.css',
'node_modules/tui-image-editor/dist/tui-image-editor.css',
'resources/tmp/css/lib.css',
'resources/tmp/css/style.css',
],
'filemanager/css/style.css',
);
mix.styles(
[
'resources/assets/less/rtl-style.less',
],
'filemanager/css/rtl-style.css',
);
mix.scripts(
[
'node_modules/bootstrap/js/bootstrap-transition.js',
'node_modules/bootstrap/js/bootstrap-affix.js',
'node_modules/bootstrap/js/bootstrap-dropdown.js',
'node_modules/bootstrap/js/bootstrap-alert.js',
'node_modules/bootstrap/js/bootstrap-button.js',
'node_modules/bootstrap/js/bootstrap-collapse.js',
'node_modules/bootstrap/js/bootstrap-dropdown.js',
'node_modules/bootstrap/js/bootstrap-modal.js',
'node_modules/bootstrap/js/bootstrap-tooltip.js',
'node_modules/bootstrap/js/bootstrap-popover.js',
'node_modules/bootstrap/js/bootstrap-scrollspy.js',
'node_modules/bootstrap/js/bootstrap-tab.js',
'node_modules/bootstrap/js/bootstrap-typeahead.js',
'node_modules/bootstrap-lightbox/js/bootstrap-lightbox.js',
'node_modules/jquery-contextmenu/dist/jquery.contextMenu.js',
'node_modules/vanilla-lazyload/dist/lazyload.js',
'node_modules/jquery-scrollstop/jquery.scrollstop.js',
'node_modules/bootbox.js/bootbox.js',
'node_modules/jquery-touchswipe/jquery.touchSwipe.js',
'node_modules/bootstrap-modal/js/bootstrap-modalmanager.js',
'node_modules/bootstrap-modal/js/bootstrap-modal.js',
'node_modules/featherlight/src/featherlight.js',
'node_modules/clipboard/dist/clipboard.js',
'node_modules/jquery-ui-touch-punch/jquery.ui.touch-punch.js',
],
'filemanager/js/plugins.js',
);
mix.scripts(
[
'node_modules/fabric/dist/fabric.js',
'node_modules/tui-code-snippet/dist/tui-code-snippet.js',
'node_modules/tui-color-picker/dist/tui-color-picker.js',
'node_modules/tui-image-editor/dist/tui-image-editor.js',
],
'filemanager/js/tui-image-editor.js',
);
mix.copy('node_modules/blueimp-file-upload/js', 'filemanager/js/');
mix.copy('node_modules/blueimp-file-upload/css', 'filemanager/css/');
mix.scripts(
[
'resources/assets/js/include.js',
],
'filemanager/js/include.js',
);
mix.scripts(
[
'resources/assets/js/plugin.js',
],
'filemanager/plugin.min.js',
);
mix.scripts(
[
'resources/assets/js/plugin_responsivefilemanager_plugin.js',
],
'tinymce/plugins/responsivefilemanager/plugin.min.js',
);
mix.scripts(
[
'resources/assets/js/modernizr.custom.js',
],
'filemanager/js/modernizr.custom.js',
);
mix.scripts(
[
'resources/assets/js/load_more.js',
],
'filemanager/js/load_more.js',
);