We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec91f6 commit f11182cCopy full SHA for f11182c
packages/preset-mini/src/utils/handlers/handlers.ts
@@ -78,7 +78,7 @@ export function time(str: string) {
78
if (isNaN(duration))
79
return
80
81
- if (/ms|s$/.test(str))
+ if (/(s|ms)$/.test(str))
82
return str
83
84
return `${str}ms`
0 commit comments