skeith22
3 months ago
688
4
Mix

Mix v4 outputs blank app.css file

Posted 3 months ago by skeith22

I have a fresh installation of Laravel 5.8

node v10.15.3
npm v6.10.1

I have this webpack.mix.js config

const mix = require('laravel-mix');

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css')
    .sourceMaps()
    .extract([
        'vue'
    ]);

if (mix.inProduction()) {
    mix.version();
}

mix.disableNotifications();

this normally works on Laravel Mix v2.*

the js files are being compiled normally but the app.css file is blank

Please sign in or create an account to participate in this conversation.