Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Duplicate entries in sourcemap #415

Open
isaacl opened this issue Nov 9, 2020 · 1 comment
Open

Duplicate entries in sourcemap #415

isaacl opened this issue Nov 9, 2020 · 1 comment

Comments

@isaacl
Copy link

isaacl commented Nov 9, 2020

Version

6.0.0-beta.11

Reproduction link

https://github.com/isaacl/vueNextIssues/tree/master

Steps to reproduce

Use v6 with rollup option sourcemap: true.

What is expected?

The Vue file is only included once in the sourcemap.

What is actually happening?

The Vue source is included twice, but mappings only point to one of the copies.
"sources":["../src/Hello.vue","../src/Hello.vue?vue&type=template&id=184cbba9&lang.js"]

@isaacl
Copy link
Author

isaacl commented Nov 9, 2020

This seems to be an issue with normalizeSourceMap

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant