From 17d83cebe7e402c5ccc2e20f76a9c2f463fc517e Mon Sep 17 00:00:00 2001 From: splincode Date: Sun, 5 Nov 2023 17:47:38 +0300 Subject: [PATCH] chore: update --- apps/demo/project.json | 15 ++++----------- tsconfig.json | 3 ++- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/apps/demo/project.json b/apps/demo/project.json index df9afd14..ca748f12 100644 --- a/apps/demo/project.json +++ b/apps/demo/project.json @@ -45,12 +45,6 @@ "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true - }, - "github": { - "baseHref": "./", - "sourceMap": false, - "buildOptimizer": true, - "vendorChunk": false } }, "defaultConfiguration": "" @@ -71,12 +65,11 @@ "options": { "parallel": false, "commands": [ - "rm -rf dist/demo && sleep 5", - "npx nx build demo && sleep 5", - "npx nx server demo && sleep 5", - "npx nx prerender demo && sleep 5", + "rm -rf dist/demo && sleep 10", + "npx nx server demo && sleep 10", + "npx nx prerender demo && sleep 10", "cp dist/demo/index.html dist/demo/404.html", - "rm -rf dist/demo//server dist/demo/index.original.html" + "rm -rf dist/demo/index.original.html" ] } }, diff --git a/tsconfig.json b/tsconfig.json index d8e6c74a..62071528 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "compilerOptions": { "rootDir": ".", "baseUrl": ".", - "module": "esnext", + "target": "ES2022", + "module": "ES2022", "removeComments": true, "useDefineForClassFields": false, "typeRoots": ["node_modules/@types"]