Level 13
Try following:
let mix = require('laravel-mix');
mix.setPublicPath('themes/default/assets/compiled');
mix.js('themes/default/assets/js/app.js', 'js');
1 like
Hey, I am using Laravel Mix for the first time in a stand-alone project and I am facing a problem I can't solve. "app.js" is for some reason being compiled to /themes/default/assets/compiled/themes/default/assets/compiled/js/app.js instead of /themes/default/assets/compiled/js/app.js.

Please or to participate in this conversation.