Skip to content

Commit 7166d79

Browse files
committed
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 455e994 commit 7166d79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/collapseSourcemaps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class Link {
7676
traced.source.content != null &&
7777
sourcesContent[sourceIndex] !== traced.source.content
7878
) {
79+
continue; // FIXME: fix this properly and then PR
7980
error({
8081
message: `Multiple conflicting contents for sourcemap source ${
8182
traced.source.filename

0 commit comments

Comments
 (0)