From 6edb972e9198d205fefbf0fbb52d968cf17a78e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Mon, 13 Apr 2026 00:03:50 +0200 Subject: [PATCH] Fix map package typecheck: allow CSS imports in tsc The leaflet CSS side-effect import fails standalone tsc (works under Vite). Enable allowArbitraryExtensions so tsc accepts .css imports. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/map/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/map/tsconfig.json b/packages/map/tsconfig.json index 5a24989..7ab0c5e 100644 --- a/packages/map/tsconfig.json +++ b/packages/map/tsconfig.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "allowArbitraryExtensions": true }, "include": ["src"] }