Skip to content
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
Open
@stevethedev

Description

@stevethedev

Version

4.7.2

Reproduction link

https://github.com/stevethedev/rollup-vue-typescript

Steps to reproduce

  1. Clone the repo: git clone https://github.com/stevethedev/rollup-vue-typescript
  2. Install the dependencies: npm install
  3. Launch the server: npm run start
  4. Open the server in a browser window (localhost:8080)
  5. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions