Browse Source

Update Angular build executor and options on dev-app

Switched build executor from 'browser' to 'application' and updated build options to use 'browser' and array format for 'polyfills'. Also removed unused options from the development configuration for cleaner setup.
pull/23363/head
Fahri Gedik 1 year ago
parent
commit
05df9e6f3d
  1. 11
      npm/ng-packs/apps/dev-app/project.json

11
npm/ng-packs/apps/dev-app/project.json

@ -6,13 +6,13 @@
"prefix": "app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"executor": "@angular-devkit/build-angular:application",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/dev-app",
"index": "apps/dev-app/src/index.html",
"main": "apps/dev-app/src/main.ts",
"polyfills": "apps/dev-app/src/polyfills.ts",
"browser": "apps/dev-app/src/main.ts",
"polyfills": ["apps/dev-app/src/polyfills.ts"],
"tsConfig": "apps/dev-app/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"allowedCommonJsDependencies": ["chart.js", "js-sha256"],
@ -141,12 +141,9 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"

Loading…
Cancel
Save