Skip to content

Instantly share code, notes, and snippets.

@theCoderCat
Created September 2, 2020 04:59
Show Gist options
  • Save theCoderCat/68d889e6c1ffcba2e4ef3d44627bdf7f to your computer and use it in GitHub Desktop.
Save theCoderCat/68d889e6c1ffcba2e4ef3d44627bdf7f to your computer and use it in GitHub Desktop.
const mix = require('laravel-mix');
require('laravel-mix-copy-watched');
mix.js('resources/js/app.js', 'public/js')
mix.js('resources/js/auth.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.copyDirectoryWatched('resources/images', 'public/images')
.copyDirectoryWatched('resources/fonts', 'public/fonts')
.options({
processCssUrls: false
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment