Open yusufkandemir opened 6 months ago
Would you be able to look at the failing test? ๐
Attention: Patch coverage is 95.65217%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 81.68%. Comparing base (
9000888
) to head (d5b65ae
). Report is 56 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/loaders/vue.ts | 95.65% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
๐ Linked issue
Resolves #209
โ Type of change
๐ Description
Some macros in
<script setup>
have a type-only variant:defineProps
defineEmits
defineSlots
defineModel
As long as their type-only variant is NOT used, they can safely be transformed into JS. So, this PR improves the exclusion logic to exclude
<script setup>
only if the file contains some type-only macro usage.๐ Checklist