2020-03-13 22:17:08 +01:00
|
|
|
const mix = require("laravel-mix");
|
|
|
|
const tailwindcss = require("tailwindcss");
|
2018-10-04 19:10:43 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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-03-13 22:17:08 +01:00
|
|
|
mix.js("resources/js/app.js", "public/js")
|
|
|
|
.sass("resources/sass/app.scss", "public/css")
|
|
|
|
.options({
|
|
|
|
processCssUrls: false,
|
|
|
|
postCss: [tailwindcss("./tailwind.config.js")]
|
|
|
|
});
|
2018-10-16 13:42:43 +02:00
|
|
|
|
|
|
|
mix.version();
|
2020-03-13 22:17:08 +01:00
|
|
|
mix.disableSuccessNotifications();
|