How to remove html comments in Vue 1.0 with gulp --production?
I would like to use html comments with Vue 1.0 eg. <!-- my comments-->
How can I modify gulp --production so that the html comments get removed? Related thread: https://github.com/vuejs/vue/issues/3262
Are you talking about comments within the template part of .vue files, as the linked issue is referencing?
If it's html that is outside of .vue files I guess you'd need/want to use the gulp-html-minifier plugin.
Otherwise, the vueify plugin should already take care of it.
It's comments within vue files.
I tested with gulp --production and it's not removed. This is Vue 1.0 though. As the issue says, 2.0 comments are automatically removed.
Please or to participate in this conversation.