diff --git a/angular.json b/angular.json index ff6b7e6..a58604e 100644 --- a/angular.json +++ b/angular.json @@ -18,12 +18,15 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/angular-tailwind", + "outputPath": { + "base": "dist/angular-tailwind" + }, "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", + "polyfills": [ + "src/polyfills.ts" + ], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ @@ -38,7 +41,8 @@ ], "allowedCommonJsDependencies": [ "apexcharts" - ] + ], + "browser": "src/main.ts" }, "configurations": { "production": { @@ -63,9 +67,7 @@ "outputHashing": "all" }, "development": { - "buildOptimizer": false, "optimization": false, - "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true diff --git a/tsconfig.json b/tsconfig.json index 5312902..3d5b471 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,20 +6,19 @@ "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "strict": true, + "esModuleInterop": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true, "target": "ES2022", "module": "es2020", "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, "lib": [ "es2020", "dom"