Skip to content

Commit 9a03a17

Browse files
committed
fix(v-bind): regex to match in both production and development
1 parent 9cc5779 commit 9a03a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/normalizeProp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { isArray, isString, isObject, hyphenate } from './'
22
import { isNoUnitNumericStyleProp } from './domAttrConfig'
33

4-
const hashedCustomProperty = /^[0-9a-f]{8}-/i;
4+
const hashedCustomProperty = /^[0-9a-f]{8}/i;
55
const customPropertyPrefix = '--';
66

77
function normalizeCustomProperty(value: Record<string, string> | string): Record<string, string> | string {

0 commit comments

Comments
 (0)