Skip to content
Snippets Groups Projects
tsconfig.sdk.json 1.06 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
      "extends": "./tsconfig.base.json",
      "compilerOptions": {
    
        // should make tsc run faster, we may need to delete the buildinfo file if we run into issues
        "incremental": true,
        // so that it doesn't accidentally end up in the distributed package
        "tsBuildInfoFile": "./resources/embedding-sdk/.tsbuildinfo",
    
        "declaration": true,
        "emitDeclarationOnly": true,
        "outDir": "./resources/embedding-sdk/dist",
        "paths": {
    
          "*": [
            "./frontend/src/*",
            "./frontend/test/*",
            "./enterprise/frontend/src/*",
            "./enterprise/frontend/test/*"
          ],
    
          "cljs/*": [
            "./target/cljs_release/*"
          ]
        },
    
        "frontend/src/**/*.ts",
        "frontend/src/**/*.tsx",
        "enterprise/frontend/src/**/*.ts",
        "enterprise/frontend/src/**/*.tsx"
    
      ],
      "exclude": [
        "node_modules",
    
        "**/*.unit.spec.*",
        "**/mocks/*",
    
        "**/tests/*",
        "**/test/*",
    
        "**/test-utils.ts",
    
        "**/test-utils.tsx",
        "**/test-helpers.ts",
        "**/testMocks.ts",
    
        "**/*.stories.tsx"
      ]