From 5167178eb3f5f1941b68cc82f96080aa89a0b414 Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Wed, 28 Sep 2022 11:08:38 +0800 Subject: [PATCH] fix landing page build --- apps/landing/.gitignore | 2 -- apps/landing/tsconfig.json | 19 +++++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 apps/landing/.gitignore diff --git a/apps/landing/.gitignore b/apps/landing/.gitignore deleted file mode 100644 index b94707787..000000000 --- a/apps/landing/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -dist/ diff --git a/apps/landing/tsconfig.json b/apps/landing/tsconfig.json index 0b16233b2..dd891386c 100644 --- a/apps/landing/tsconfig.json +++ b/apps/landing/tsconfig.json @@ -1,10 +1,13 @@ { - "extends": "../../packages/config/interface.tsconfig.json", - "include": ["src"], - "ts-node": { - "transpileOnly": true, - "compilerOptions": { - "module": "CommonJS" - } - } + "extends": "../../packages/config/interface.tsconfig.json", + "include": ["src"], + "compilerOptions": { + "target": "es2020" + }, + "ts-node": { + "transpileOnly": true, + "compilerOptions": { + "module": "CommonJS" + } + } }