Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Gist for my "WordPress: Laravel Mix, Sass and ES6 Modules in theme development" tutorial at
const mix = require('laravel-mix');
mix.js( 'src/js/app.js', 'public/js/app.js')
.sass( 'src/scss/app.scss', 'public/css/app.css')
.copyDirectory('src/img', 'public/img')
processCssUrls: false,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment