]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: comment dom tag config usage [ci skip]
authorEvan You <yyx990803@gmail.com>
Fri, 21 Jan 2022 06:29:45 +0000 (14:29 +0800)
committerEvan You <yyx990803@gmail.com>
Fri, 21 Jan 2022 06:31:00 +0000 (14:31 +0800)
packages/shared/src/domTagConfig.ts

index de2952a418a195ea837e574f3f3b3b7b0745b907..1f8605d9fc4a0855ad0a118151f4a934c5a8cc91 100644 (file)
@@ -30,6 +30,18 @@ const SVG_TAGS =
 const VOID_TAGS =
   'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr'
 
+/**
+ * Compiler only.
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
+ */
 export const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS)
+/**
+ * Compiler only.
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
+ */
 export const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS)
+/**
+ * Compiler only.
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
+ */
 export const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS)