Static GitHub Issues

[756] Strip comments from produced code in production mode.

prev: Proper way to create a store
next: 1.0.0-alpha Breaking changes

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.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c646">#c646</a>)</em></sub></div>