This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
webpack.mix.js
27 lines (26 loc) · 1.92 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
module.exports = function (mix) {
mix.babel([
'vendor/block8/ui/resources/assets/js/core/admin-ui.js',
'vendor/block8/ui/resources/assets/js/core/component.js',
'vendor/block8/ui/resources/assets/js/components/AlertComponent.js',
'vendor/block8/ui/resources/assets/js/components/SidebarComponent.js',
'vendor/block8/ui/resources/assets/js/components/TopbarComponent.js',
'vendor/block8/ui/resources/assets/js/components/SelectComponent.js',
'vendor/block8/ui/resources/assets/js/components/TabCardComponent.js',
'vendor/block8/ui/resources/assets/js/components/DeleteButtonComponent.js',
'vendor/block8/ui/resources/assets/js/components/DatePickerComponent.js',
'vendor/block8/ui/resources/assets/js/components/HtmlEditorComponent.js',
'vendor/block8/ui/resources/assets/js/ui.js',
], 'public/block8/ui/js/ui.js');
mix.copy('node_modules/bootstrap-notify/bootstrap-notify.min.js', 'public/block8/ui/js/bootstrap-notify.min.js');
mix.copy('node_modules/jquery/dist/jquery.min.js', 'public/block8/ui/js/jquery.min.js');
mix.copy('node_modules/moment/min/moment.min.js', 'public/block8/ui/js/moment.min.js');
mix.copy('node_modules/animate.css/animate.min.css', 'public/block8/ui/css/animate.css');
mix.copyDirectory('node_modules/ckeditor', 'public/block8/ui/js/ckeditor');
mix.copyDirectory('node_modules/@ckeditor/ckeditor5-build-classic/build', 'public/block8/ui/js/ckeditor5');
mix.copyDirectory('node_modules/select2', 'public/block8/ui/js/select2');
mix.copyDirectory('node_modules/chartist/dist', 'public/block8/ui/js/chartist');
mix.copyDirectory('node_modules/eonasdan-bootstrap-datetimepicker/build', 'public/block8/ui/js/datetimepicker');
mix.copyDirectory('node_modules/sweetalert2/dist', 'public/block8/ui/js/sweetalert2');
mix.copyDirectory('vendor/block8/ui/resources/assets/img', 'public/block8/ui/img');
};