We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450ce7e commit 2660dbdCopy full SHA for 2660dbd
packages/svelte-check/src/incremental.ts
@@ -904,7 +904,11 @@ function rebasePathsConfig(
904
for (const [key, specs] of Object.entries(options.paths)) {
905
const result: string[] = [];
906
for (const spec of specs) {
907
- const rebasedSpec = rebaseConfigSpec(spec, pathsBaseDir, overlayDir);
+ // ${configDir} placeholder should already be resolved here
908
+ const absoluteSpec = path.isAbsolute(spec)
909
+ ? spec
910
+ : path.resolve(pathsBaseDir, spec);
911
+ const rebasedSpec = toRelativePosix(overlayDir, absoluteSpec);
912
result.push(rebasedSpec);
913
let posixSpec = toPosixPath(spec);
914
if (path.isAbsolute(posixSpec)) {
0 commit comments