How to disable generating the code source maps on production build?

Thanks. I cannot get any source maps to show on a new project though, as I posted here