Skip to content

Commit f403c6f

Browse files
Apply suggestions from code review
1 parent 429e6a5 commit f403c6f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.changeset/twenty-shoes-peel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'svelte': patch
33
---
44

5-
Fix disabling prefix for animation
5+
fix: don't include keyframes in global scope in the keyframes to rename

packages/svelte/src/compiler/phases/3-transform/css/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ const visitors = {
106106
const character = state.code.original[index];
107107

108108
if (regex_css_name_boundary.test(character)) {
109-
// TODO FIX
110109
if (state.keyframes.includes(name)) {
111110
state.code.prependRight(index - name.length, `${state.hash}-`);
112111
}

0 commit comments

Comments
 (0)