mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
Tailwind v4's module loader follows imports out of @source-scanned packages (e.g. shared-branding/spaces.ts imports from @mana/shared- types) via Node's ESM resolver, which mandates explicit extensions on relative paths. Without them Vite's Tailwind integration blew up with `Cannot find module '.../shared-types/src/theme'` at dev-server boot. Downstream tsconfigs all run `moduleResolution: "bundler"`, which accepts `.ts` suffixes on relative imports without requiring `allowImportingTsExtensions`. No downstream code changes needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||