You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stringifySFC is responsible for re-printing SFC files once all blocks have been transformed. It does not necessarily print blocks, or block attributes, in the same order as the source file, even though those are not affected by the codemod functions.
Why this is a problem
This creates a lot of noise on blocks when applying a codemod to a large codebase.
To do:
Provide the right context to stringifySFC's helpers so they can re-print block attributes in the right order
Write unit tests with setup and lang="ts"
Check if block order is respected or also needs adjusting
The text was updated successfully, but these errors were encountered:
Context
stringifySFC
is responsible for re-printing SFC files once all blocks have been transformed. It does not necessarily print blocks, or block attributes, in the same order as the source file, even though those are not affected by the codemod functions.Why this is a problem
This creates a lot of noise on blocks when applying a codemod to a large codebase.
To do:
stringifySFC
's helpers so they can re-print block attributes in the right orderThe text was updated successfully, but these errors were encountered: