-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathtsconfig.json
40 lines (40 loc) · 1.86 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
"module": "esnext",
// aligning with Node18 recommendation: https://www.npmjs.com/package/@tsconfig/node18
"target": "es2022",
"lib": ["es2020", "dom", "ES2021.String"],
"jsx": "preserve",
"moduleResolution": "bundler",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noEmit": true,
"experimentalDecorators": true,
"baseUrl": "./",
"allowSyntheticDefaultImports": true,
"noErrorTruncation": false,
"allowJs": true,
"paths": {
"@pigment-css/nextjs-plugin": ["./packages/pigment-css-nextjs-plugin/src"],
"@pigment-css/nextjs-plugin/*": ["./packages/pigment-css-nextjs-plugin/src/*"],
"@pigment-css/react": ["./packages/pigment-css-react/src"],
"@pigment-css/react/utils": ["./packages/pigment-css-react/src/utils"],
"@pigment-css/react/internal": ["./packages/pigment-css-react/src/internal"],
"@pigment-css/react/*": ["./packages/pigment-css-react/src/*"],
"@pigment-css/unplugin": ["./packages/pigment-css-unplugin/src"],
"@pigment-css/vite-plugin": ["./packages/pigment-css-vite-plugin/src"],
"@pigment-css/vite-plugin/*": ["./packages/pigment-css-vite-plugin/src/*"],
"@mui-internal/api-docs-builder": ["./node_modules/@mui/monorepo/packages/api-docs-builder"],
"@mui-internal/api-docs-builder/*": [
"./node_modules/@mui/monorepo/packages/api-docs-builder/*"
],
"@pigment-css/theme": ["./packages/pigment-css-theme/src"],
"@pigment-css/theme/*": ["./packages/pigment-css-theme/src/*"],
"@pigment-css/utils": ["./packages/pigment-css-utils/src"],
"@pigment-css/utils/*": ["./packages/pigment-css-utils/src/*"]
},
// Otherwise we get react-native typings which conflict with dom.lib.
"types": ["node", "react", "mocha"]
},
"exclude": ["**/.*/", "**/build", "**/node_modules", "docs/export"]
}