Skip to content

Commit a787096

Browse files
authored
Workaround for "Multiple conflicting contents for sourcemap..."
See vuejs/rollup-plugin-vue#238 In this case, Rollup throws a hard error and aborts. This is highly disruptive for all that the issue when skipping would be a missing or corrupt sourcemap! Instead, let's just skip this particular iteration. It's not the prettiest workaround, but it does have the benefit of actually making us productive again. Woo!
1 parent 0441723 commit a787096

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/collapseSourcemaps.ts

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class Link {
7272
traced.source.content != null &&
7373
sourcesContent[sourceIndex] !== traced.source.content
7474
) {
75+
continue; // FIXME: fix this properly and then PR
7576
error({
7677
message: `Multiple conflicting contents for sourcemap source ${
7778
traced.source.filename

0 commit comments

Comments
 (0)