manniL's avatar

Strip javascript "console.log" with Laravel Mix

Greetings!

I've asked myself recently if it's possible to strip javascript "console.log" statements when compiling assets with Laravel Mix. I know that UglifyJS supports such a function (called drop_console)

0 likes
2 replies
manniL's avatar

@tykus Ah, thanks! It does it since version 0.9, but I'm still using 0.8.3

1 like

Please or to participate in this conversation.