Skip to content

Commit

Permalink
chore: improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyxu1102 authored and sxzz committed Mar 30, 2023
1 parent 6cb8649 commit b93d635
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
Expand Up @@ -28,7 +28,7 @@ export function normalizeStyle(

const listDelimiterRE = /;(?![^(]*\))/g
const propertyDelimiterRE = /:([^]+)/
const styleCommentRE = /\/\*(\n|.)*?\*\//g
const styleCommentRE = /\/\*[\s\S]*?\*\//g

export function parseStringStyle(cssText: string): NormalizedStyle {
const ret: NormalizedStyle = {}
Expand Down

0 comments on commit b93d635

Please sign in to comment.