Fix Terser TypeError: Cannot read property ‘minify’ of undefined

Simple fix.

If you are using Laravel mix to compile your assets, after updating mix to the latest version you would have encountered this TypeError while running npm run production.

Install the Terser package and everything will be fine like always.

npm i terser@3.14