How to clear console information when nuxt.js project is packaged

nuxt project, do automatic conversion in the development and production interfaces, judge process.env.NODE_ENV, but print process.env.NODE_ENV is always undefined, this is how this is going on, build has been set to production

clipboard.png

clipboard.png
and how to clear the console information of the page when the nuxt project build, which cannot be configured as freely as webpack.

Oct.08,2021
Menu