Skip to content

Commit

Permalink
ensure we split on all whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Feb 4, 2025
1 parent c1d0d64 commit 86c83de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ async function parseCss(
let keyframesRules = theme.getKeyframes()
if (keyframesRules.length > 0) {
let animationParts = [...theme.namespace('--animate').values()].flatMap((animation) =>
animation.split(' '),
animation.split(/\s+/),
)

for (let keyframesRule of keyframesRules) {
Expand Down

0 comments on commit 86c83de

Please sign in to comment.