36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true, // Required for references to work
|
|
"noEmit": false /* Do not emit outputs. */,
|
|
"emitDeclarationOnly": true,
|
|
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
|
|
"rootDir": "./src" /* Specify the root folder within your source files. */,
|
|
"sourceMap": true,
|
|
"paths": {
|
|
"@payloadcms/ui": ["../ui/src/exports/index.ts"],
|
|
"@payloadcms/ui/*": ["../ui/src/exports/*"],
|
|
"@payloadcms/ui/scss": ["../ui/src/scss/styles.scss"],
|
|
"@payloadcms/ui/scss/app.scss": ["../ui/src/scss/app.scss"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"src/**/*.spec.js",
|
|
"src/**/*.spec.jsx",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.spec.tsx",
|
|
"src/**/*.json"
|
|
],
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"src/withPayload.js" /* Include the withPayload.js file in the build */
|
|
],
|
|
"references": [
|
|
{ "path": "../payload" },
|
|
{ "path": "../ui" },
|
|
{ "path": "../translations" },
|
|
{ "path": "../graphql" }
|
|
]
|
|
}
|