Skip to content

Commit d552d7c

Browse files
committed
turn off inlineSourceMap in fallback preprocess
explicitly set it to false to prevent it to be merged with user config and causes config validation error
1 parent 2137c0d commit d552d7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/language-server/src/lib/documents/configLoader.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,10 @@ export class ConfigLoader {
253253
preprocess: sveltePreprocess({
254254
// 4.x does not have transpileOnly anymore, but if the user has version 3.x
255255
// in his repo, that one is loaded instead, for which we still need this.
256-
typescript: <any>{ transpileOnly: true, compilerOptions: { sourceMap: true } }
256+
typescript: <any>{
257+
transpileOnly: true,
258+
compilerOptions: { sourceMap: true, inlineSourceMap: false }
259+
}
257260
})
258261
};
259262
}

0 commit comments

Comments
 (0)