问题
Laravel 5.4 - Mix How to Mangle / Uglify / Obfuscate Scripts
I use gulp on previous version.
Thank you
回答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
来源:https://stackoverflow.com/questions/42870454/laravel-5-4-mix-how-to-mangle-uglify-obfuscate-scripts