From 747ac780ad9aabc89cebfb0d55e796a63757f233 Mon Sep 17 00:00:00 2001 From: Sunil Pai Date: Tue, 24 Feb 2026 16:42:37 +0000 Subject: [PATCH] fix: inline source content in sourcemaps to prevent missing source warnings When vinext is installed from npm, the .ts source files aren't in the package but .js.map files reference them, causing Vite to log many 'points to missing source files' warnings. Adding inlineSources: true to tsconfig embeds the original TypeScript source content directly in the .js.map files so no separate .ts files are needed. Fixes #2 --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 66e7bded6e..0f1807e33f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,7 @@ "declaration": true, "declarationMap": true, "sourceMap": true, + "inlineSources": true, "outDir": "dist" }, "exclude": ["node_modules", "dist", "fixtures", "tests/fixtures", "benchmarks", "examples"]