Ekapp/skolehjem/webpack.mix.js

22 lines
676 B
JavaScript
Raw Normal View History

2020-06-08 08:04:45 +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-06-15 06:56:21 +00:00
//JS
mix.js('resources/js/app.js', 'public/js');
2020-07-28 12:26:32 +00:00
2020-06-15 06:56:21 +00:00
//SCSS
mix.sass('resources/sass/app/app.scss', 'public/css');
mix.sass('resources/sass/webapp/webapp.scss', 'public/css');
mix.sass('resources/sass/admin/admin.scss', 'public/css');