From efc6c2210fde6e60ff1174eb31e2498459dcb8ea Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 24 May 2023 19:17:14 +0200 Subject: [PATCH] include json and js files in cms tsconfig --- src/Umbraco.Web.UI.Client/src/tsconfig.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/tsconfig.json b/src/Umbraco.Web.UI.Client/src/tsconfig.json index 773ba1ea5c..5ed32856b3 100644 --- a/src/Umbraco.Web.UI.Client/src/tsconfig.json +++ b/src/Umbraco.Web.UI.Client/src/tsconfig.json @@ -1,10 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "allowJs": true, + "noEmit": false, "outDir": "../dist-cms", - "rootDir": ".", + "rootDir": "./", "composite": true, + "resolveJsonModule": true, }, - "include": ["./**/*.ts"], - "exclude": ["./**/*.test.ts", "./**/*.stories.ts"], + "include": ["./**/*.ts", "./**/*.json", "./**/*.js"], + "exclude": ["./**/*.test.ts", "./**/*.stories.ts", "tsconfig.json", "rollup.config.js"], }