Skip to content Skip to sidebar Skip to footer

Laravel 5.4 Mix How To Mangle / Uglify / Obfuscate Scripts

Laravel 5.4 - Mix How to Mangle / Uglify / Obfuscate Scripts I use gulp on previous version. Thank you

Solution 1:

From the Laravel Mix documentation:

mix.options({extractVueStyles:false,processCssUrls:true,purifyCss:false,uglify: {},postCss: []
});

You can use the uglify option to merge any custom uglify options that your project requires

Post a Comment for "Laravel 5.4 Mix How To Mangle / Uglify / Obfuscate Scripts"