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
Description
When using babel-plugin-instanbul for a Vue 3 app that is using script setup, there is a flood of transpilation errors reading don't know how to turn this value into a node at transformFile.next for each Vue component that uses <script setup> when extending .vue files in your babel.config.js.
Description
When using
babel-plugin-instanbul
for a Vue 3 app that is using script setup, there is a flood of transpilation errors readingdon't know how to turn this value into a node at transformFile.next
for each Vue component that uses<script setup>
when extending.vue
files in yourbabel.config.js
.Steps to Reproduce
babel-plugin-istanbul
in your dev dependenciesbabel.config.js
as shown aboveApp.vue
to use<script setup>
Expected Behavior
The app is traspiled with no errors
Actual Behavior
A
don't know how to turn this value into a node at transformFile.next
error populates for every Vue file that uses<script setup>
If you were to revise the script in your Vue files to use
export default
the transpilation errors disappear.✅ Works
❌ Fails
The text was updated successfully, but these errors were encountered: