Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
@@ -123,6 +123,7 @@ export const devtoolsComponentRemoved = (
}
+/*! #__NO_SIDE_EFFECTS__ */
function createDevtoolsComponentHook(hook: DevtoolsHooks) {
return (component: ComponentInternalInstance) => {
emit(
@@ -17,7 +17,7 @@ import {
} from '@vue/shared'
// leading comma for empty string ""
-const shouldIgnoreProp = makeMap(
+const shouldIgnoreProp = /*#__PURE__*/ makeMap(
`,key,ref,innerHTML,textContent,ref_key,ref_for`,
)
@@ -5,6 +5,8 @@
* \/\*#\_\_PURE\_\_\*\/
* So that rollup can tree-shake them if necessary.
*/
+
export function makeMap(
str: string,
expectsLowerCase?: boolean,