From 9a03a179e5c6019ecdac04514bd8e51b407026ef Mon Sep 17 00:00:00 2001 From: Jason Kelly Date: Mon, 21 Feb 2022 10:51:34 +0100 Subject: [PATCH] fix(v-bind): regex to match in both production and development --- packages/shared/src/normalizeProp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/src/normalizeProp.ts b/packages/shared/src/normalizeProp.ts index 25e7391de55..1a69a431275 100644 --- a/packages/shared/src/normalizeProp.ts +++ b/packages/shared/src/normalizeProp.ts @@ -1,7 +1,7 @@ import { isArray, isString, isObject, hyphenate } from './' import { isNoUnitNumericStyleProp } from './domAttrConfig' -const hashedCustomProperty = /^[0-9a-f]{8}-/i; +const hashedCustomProperty = /^[0-9a-f]{8}/i; const customPropertyPrefix = '--'; function normalizeCustomProperty(value: Record | string): Record | string {