Home

Issue: 756

Strip comments from produced code in production mode.

[issue link]

When my website is finished - it’s all good and Nuxt works great.

However, there’s lots of comments that add like 20% extra to my payload size.

nuxtissue

I think you could strip comments out of the final code and have it as an option under the performance options of Nuxt.

I’ll attempt a pull request but I’ve never even looked at Nuxt’s code so I don’t think I’ll be able to implement it.

This question is available on Nuxt.js community (#c646)