diff --git a/build/jsconfig.json b/build/jsconfig.json deleted file mode 100644 index 299294ef055..00000000000 --- a/build/jsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es2017", - "jsx": "preserve", - "checkJs": true - }, - "include": [ - "**/*.js" - ], - "exclude": [ - "node_modules", - "**/node_modules/*" - ] -} \ No newline at end of file diff --git a/build/tsconfig.build.json b/build/tsconfig.build.json index 2402a092886..0a00f2d0f48 100644 --- a/build/tsconfig.build.json +++ b/build/tsconfig.build.json @@ -2,6 +2,10 @@ "extends": "./tsconfig.json", "compilerOptions": { "allowJs": false, - "checkJs": false - } -} \ No newline at end of file + "checkJs": false, + "noEmit": false + }, + "include": [ + "**/*.ts" + ] +} diff --git a/build/tsconfig.json b/build/tsconfig.json index a0378eefc23..de65bb698d3 100644 --- a/build/tsconfig.json +++ b/build/tsconfig.json @@ -12,16 +12,17 @@ // use the tsconfig.build.json for compiling which disable JavaScript // type checking so that JavaScript file are not transpiled "allowJs": true, - "checkJs": true, "strict": true, "exactOptionalPropertyTypes": false, "useUnknownInCatchVariables": false, "noUnusedLocals": true, "noUnusedParameters": true, - "newLine": "lf" + "newLine": "lf", + "noEmit": true }, "include": [ - "**/*.ts" + "**/*.ts", + "**/*.js" ], "exclude": [ "node_modules/**"