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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-13 00:03:50 +02:00
parent 2ac4014521
commit 6edb972e91
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -2,7 +2,8 @@
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "outDir": "dist",
"rootDir": "src" "rootDir": "src",
"allowArbitraryExtensions": true
}, },
"include": ["src"] "include": ["src"]
} }