From 7a3527dd4ac7e2eeb80bd8fdde6ca6830cb70f1b Mon Sep 17 00:00:00 2001 From: wangxuan Date: Fri, 3 Feb 2023 23:28:05 +0800 Subject: [PATCH] fix(typo): whiteLabelling to whiteLabeling (#3139) * fix typo: whiteLabelling -> whiteLabeling * fix resolvejsonmodule error --- platform/viewer/public/config/default.js | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/viewer/public/config/default.js b/platform/viewer/public/config/default.js index bc3d7e04f..d73f8aed5 100644 --- a/platform/viewer/public/config/default.js +++ b/platform/viewer/public/config/default.js @@ -1,6 +1,6 @@ window.config = { routerBasename: '/', - // whiteLabelling: {}, + // whiteLabeling: {}, extensions: [], modes: [], customizationService: { diff --git a/tsconfig.json b/tsconfig.json index 04989dbbd..447924561 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ // Ensure that Babel can safely transpile files in the TypeScript project "isolatedModules": false, "jsx": "react", + "resolveJsonModule": true, "esModuleInterop": true, "sourceMap": true, "declaration": true,