We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d1af40 commit e486254Copy full SHA for e486254
packages/compiler-core/src/codegen.ts
@@ -738,13 +738,11 @@ function genExpressionAsPropertyKey(
738
}
739
740
function genComment(node: CommentNode, context: CodegenContext) {
741
- if (__DEV__) {
742
- const { push, helper, pure } = context
743
- if (pure) {
744
- push(PURE_ANNOTATION)
745
- }
746
- push(`${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`, node)
+ const { push, helper, pure } = context
+ if (pure) {
+ push(PURE_ANNOTATION)
747
+ push(`${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`, node)
748
749
750
function genVNodeCall(node: VNodeCall, context: CodegenContext) {
0 commit comments