From d8b89581886f128be31ed2563831beb65fadc6c3 Mon Sep 17 00:00:00 2001 From: "Wataru.Kasahara" Date: Mon, 12 Feb 2024 12:37:03 +0900 Subject: [PATCH] yarn ng update @angular/cli --name=use-application-builder --- angular.json | 16 +++++++++------- tsconfig.json | 3 +-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/angular.json b/angular.json index 5725e24a..a7a0a336 100644 --- a/angular.json +++ b/angular.json @@ -36,12 +36,15 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/portfolio", + "outputPath": { + "base": "dist/portfolio" + }, "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", + "polyfills": [ + "src/polyfills.ts" + ], "tsConfig": "tsconfig.app.json", "assets": [ "src/favicon.ico", @@ -54,7 +57,8 @@ "scripts": [], "allowedCommonJsDependencies": [ "xml2js" - ] + ], + "browser": "src/main.ts" }, "configurations": { "production": { @@ -79,9 +83,7 @@ "outputHashing": "all" }, "development": { - "vendorChunk": true, "extractLicenses": false, - "buildOptimizer": false, "sourceMap": true, "optimization": false, "namedChunks": true diff --git a/tsconfig.json b/tsconfig.json index 01a2dd67..2fc47ae1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,11 +5,11 @@ "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "strict": true, + "esModuleInterop": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true, @@ -17,7 +17,6 @@ "noUnusedParameters": true, "target": "ES2022", "module": "es2020", - "allowSyntheticDefaultImports": true, "typeRoots": [ "node_modules/@types" ],