diff --git a/angular.json b/angular.json index e95e5f1de..a579b98ad 100644 --- a/angular.json +++ b/angular.json @@ -18,22 +18,25 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/ngx-datatable", + "outputPath": { + "base": "dist/ngx-datatable", + "browser": "" + }, "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", + "polyfills": [ + "src/polyfills.ts" + ], "tsConfig": "tsconfig.app.json", "assets": ["src/favicon.ico", "src/assets"], "styles": ["src/styles.scss"], "scripts": [], - "vendorChunk": true, "extractLicenses": false, - "buildOptimizer": false, "sourceMap": true, "optimization": false, - "namedChunks": true + "namedChunks": true, + "browser": "src/main.ts" }, "configurations": { "production": { @@ -48,8 +51,6 @@ "sourceMap": false, "namedChunks": false, "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", diff --git a/tsconfig.json b/tsconfig.json index 22f60740f..4e0583194 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "module": "es2022", "moduleResolution": "node", @@ -16,7 +15,6 @@ "resolveJsonModule": true, "esModuleInterop": true, "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, "paths": { "@siemens/ngx-datatable": ["dist/ngx-datatable"], "@siemens/ngx-datatable/*": ["dist/ngx-datatable/*"]