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
in vue3, <script setup lang="ts"> is wrong, <script setup> is right.
in vue2,<script setup lang="ts"> has same problem with vue3, <script setup> is also wrong
If you want to reproduce the vue2 problem, just switch to the branch of vue and repeat the same procedure
Vue version
3.2.45
Link to minimal reproduction
https://github.com/1593292349/sfc-sourcemap.git
Steps to reproduce
npm run build
dist/index.html
What is expected?
I'd like to see the original sfc code.
What is actually happening?
System Info
Any additional comments?
If I put the
<script setup lang="ts">
Change to<script setup>
You can see the original codeThe text was updated successfully, but these errors were encountered: