diff --git a/packages-private/sfc-playground/src/App.vue b/packages-private/sfc-playground/src/App.vue index 9ae0ecd9236..a2d79473b06 100644 --- a/packages-private/sfc-playground/src/App.vue +++ b/packages-private/sfc-playground/src/App.vue @@ -62,6 +62,7 @@ const sfcOptions = computed( compilerOptions: { isCustomElement: (tag: string) => tag === 'mjx-container' || tag.startsWith('custom-'), + comments: !productionMode.value, }, }, }),