Skip to content

Instantly share code, notes, and snippets.

@adriano-sena
Created October 21, 2022 23:52
Show Gist options
  • Save adriano-sena/42db5c8dac8274a66bd4a446025d40b4 to your computer and use it in GitHub Desktop.
Save adriano-sena/42db5c8dac8274a66bd4a446025d40b4 to your computer and use it in GitHub Desktop.
Laravel mix
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix
.sass('resources/css/app.scss', 'public/css');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment