Level 104
AFAIK, it does this in production build.
https://github.com/JeffreyWay/laravel-mix/commit/eaab1fe1f87c9bba407ff461a679e172eedc5dbe
1 like
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)
AFAIK, it does this in production build.
https://github.com/JeffreyWay/laravel-mix/commit/eaab1fe1f87c9bba407ff461a679e172eedc5dbe
Please or to participate in this conversation.