2020-04-26 04:09:32 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-05-02 05:54:14 +00:00
|
|
|
mix.js(['resources/js/app.js', 'resources/js/application_charts.js', 'resources/js/calendar.js'], 'public/js')
|
2020-04-29 02:20:00 +00:00
|
|
|
.sass('resources/sass/app.scss', 'public/css');
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-02 05:54:14 +00:00
|
|
|
mix.styles([
|
|
|
|
'node_modules/@fullcalendar/core/main.css',
|
|
|
|
'node_modules/@fullcalendar/daygrid/main.css',
|
|
|
|
'node_modules/@fullcalendar/timeline/main.css',
|
|
|
|
'node_modules/@fullcalendar/timegrid/main.css',
|
2020-05-22 02:49:16 +00:00
|
|
|
'node_modules/@fullcalendar/list/main.css',
|
|
|
|
'node_modules/flatpickr/dist/flatpickr.min.css'
|
|
|
|
], 'public/css/mixed.css');
|
2020-05-02 05:54:14 +00:00
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
mix.webpackConfig({
|
|
|
|
stats: {
|
|
|
|
warnings: false
|
|
|
|
}
|
|
|
|
});
|
2020-05-02 05:54:14 +00:00
|
|
|
|
|
|
|
mix.disableNotifications();
|