Skip to content

Commit 8d2210e

Browse files
committed
rewriteRelativeImportExtensions
1 parent dc7892c commit 8d2210e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/svelte.dev/scripts/sync-docs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { preprocess } from '@sveltejs/site-kit/markdown/preprocess';
33
import path from 'node:path';
44
import fs from 'node:fs';
55
import { parseArgs } from 'node:util';
6+
import process from 'node:process';
67
import ts from 'typescript';
78
import glob from 'tiny-glob/sync.js';
89
import chokidar from 'chokidar';

apps/svelte.dev/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"skipLibCheck": true,
1010
"sourceMap": true,
1111
"strict": true,
12-
"moduleResolution": "bundler"
12+
"moduleResolution": "bundler",
13+
"rewriteRelativeImportExtensions": true
1314
}
1415
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
1516
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files

0 commit comments

Comments
 (0)