Skip to content

Commit

Permalink
fix(v-bind): regex to match in both production and development
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkellydk committed Feb 21, 2022
1 parent 9cc5779 commit 9a03a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/normalizeProp.ts
Original file line number Diff line number Diff line change
@@ -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, string> | string): Record<string, string> | string {
Expand Down

0 comments on commit 9a03a17

Please sign in to comment.