Last active
February 16, 2020 11:55
-
-
Save vanaf1979/d8a7e4a91aa92ef190214c863a9912d6 to your computer and use it in GitHub Desktop.
Gist for my "WordPress: Laravel Mix, Sass and ES6 Modules in theme development" tutorial at https://since1979.dev/wordpress-laravel-mix-sass-and-es6-modules-in-theme-development/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | |
.options({ | |
processCssUrls: false, | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment