mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +02:00
Change tsconfig module from commonjs to ES2020 and moduleResolution to bundler so browser.js exports ESM that Vite/Rollup can tree-shake. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
349 B
JSON
16 lines
349 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
"declaration": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|