lundi 31 juillet 2017

mix.options is not a function

I've been trying to run PurifyCSS for my Laravel app, but keep getting the "mix.options is not a function" error whenever I run 'gulp' from the command line. mix.styles works just fine though

I understand that this problem happened for a lot of people because they were on old versions of Laravel mix, however I believe I've updated it (eg npm laravel-mix -v returns "3.10.10")

Any advice? Thanks

var elixir = require('laravel-elixir');

elixir(function(mix) {
mix.options({ purifyCss: true });
mix.styles([
    'bootstrap.css',
    'cc.css'
]);
});



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tZcCz8
via IFTTT

1 commentaire:

  1. We are a third party technical support service. Avast Customer Support is here to help you out with the whole procedure to Download Avast Antivirus online, We not only fix your Avast Support related issues but will guide with how to get started with your new Avast product once it gets installed successfully.We at Avast Tech Support provides service to protect your PC from potential online threats and external attacks like viruses, Trojans, malwares, spywares and phishing scams. And Avast Refund. Call on our Avast Phone Number.

    RépondreSupprimer