This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Vue Typescript Sourcemaps #272
Open
Description
Version
4.7.2
Reproduction link
https://github.com/stevethedev/rollup-vue-typescript
Steps to reproduce
- Clone the repo:
git clone https://github.com/stevethedev/rollup-vue-typescript
- Install the dependencies:
npm install
- Launch the server:
npm run start
- Open the server in a browser window (localhost:8080)
- Check the sourcemap for
with-script-typescript.vue
What is expected?
The SourceMap allows a breakpoint to be inserted at Line 12.
What is actually happening?
A breakpoint can only be inserted at lines 1, 3, 6, 7, and 9.
Changing the script lang
tag from "ts" to "js" causes the SourceMap to behave as expected.
Metadata
Metadata
Assignees
Labels
No labels