Closed
Description
Version
14.2.1
Reproduction link
https://github.com/scry/VueCoverage
Steps to reproduce
clone the repo, yarn install, karma start.
Karma will break because of these lines in remap-istanbul.
remap-istanbul expects sourcemaps to have the "file" property, but vue-loader isn't setting it.
What is expected?
parser.js should be passing the file option to SourceMapGenerator, as per SourceMapGenerator docs.
What is actually happening?
parser.js skips the file property, which results in a map being exported without file specified.
This causes an issue specifically with remap-istanbul. I thought the bug was theirs for a while but it looks like it's a saner fix in vue-loader.
Metadata
Metadata
Assignees
Labels
No labels