rollup-plugin-vue icon indicating copy to clipboard operation
rollup-plugin-vue copied to clipboard

Duplicate entries in sourcemap

Open isaacl opened this issue 5 years ago • 1 comments

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 avatar Nov 09 '20 14:11 isaacl

This seems to be an issue with normalizeSourceMap

isaacl avatar Nov 09 '20 16:11 isaacl