diff --git a/CHANGELOG.md b/CHANGELOG.md index 239a21e0cd..f74fe7308b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Changed the build executor of the client from `@nx/angular:browser-esbuild` to `@nx/angular:application` - Improved the language localization for Spanish (`es`) - Upgraded `ngx-skeleton-loader` from version `13.0.0` to `14.0.0` diff --git a/apps/client/project.json b/apps/client/project.json index c6367144ee..30b2e7a010 100644 --- a/apps/client/project.json +++ b/apps/client/project.json @@ -69,29 +69,29 @@ }, "targets": { "build": { - "executor": "@nx/angular:browser-esbuild", + "executor": "@nx/angular:application", "options": { "index": "apps/client/src/index.html", - "main": "apps/client/src/main.ts", - "outputPath": "dist/apps/client", + "browser": "apps/client/src/main.ts", + "outputPath": { + "base": "dist/apps/client", + "browser": "" + }, "tsConfig": "apps/client/tsconfig.app.json", - "buildOptimizer": false, "deleteOutputPath": false, "extractLicenses": false, "localize": true, "namedChunks": true, - "ngswConfigPath": "apps/client/ngsw-config.json", "optimization": false, - "polyfills": "apps/client/src/polyfills.ts", - "serviceWorker": true, + "polyfills": ["apps/client/src/polyfills.ts"], + "serviceWorker": "apps/client/ngsw-config.json", "sourceMap": true, "styles": [ "apps/client/src/assets/fonts/inter.css", "apps/client/src/styles/theme.scss", "apps/client/src/styles.scss", "node_modules/open-color/open-color.css" - ], - "vendorChunk": true + ] }, "configurations": { "development-ca": { @@ -163,7 +163,6 @@ "maximumError": "10kb" } ], - "buildOptimizer": true, "extractLicenses": true, "fileReplacements": [ { @@ -174,11 +173,10 @@ "namedChunks": false, "optimization": true, "outputHashing": "all", - "sourceMap": false, - "vendorChunk": false + "sourceMap": false } }, - "outputs": ["{options.outputPath}"], + "outputs": ["{options.outputPath.base}"], "defaultConfiguration": "" }, "copy-assets": {