Open 1593292349 opened 1 year ago
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 code