@angular/build 19.1.8 → 19.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/build",
3
- "version": "19.1.8",
3
+ "version": "19.1.9",
4
4
  "description": "Official build system for Angular",
5
5
  "keywords": [
6
6
  "Angular CLI",
@@ -23,8 +23,8 @@
23
23
  "builders": "builders.json",
24
24
  "dependencies": {
25
25
  "@ampproject/remapping": "2.3.0",
26
- "@angular-devkit/core": "19.1.8",
27
- "@angular-devkit/architect": "0.1901.8",
26
+ "@angular-devkit/core": "19.1.9",
27
+ "@angular-devkit/architect": "0.1901.9",
28
28
  "@babel/core": "7.26.0",
29
29
  "@babel/helper-annotate-as-pure": "7.25.9",
30
30
  "@babel/helper-split-export-declaration": "7.24.7",
@@ -58,7 +58,7 @@
58
58
  "@angular/localize": "^19.0.0",
59
59
  "@angular/platform-server": "^19.0.0",
60
60
  "@angular/service-worker": "^19.0.0",
61
- "@angular/ssr": "^19.1.8",
61
+ "@angular/ssr": "^19.1.9",
62
62
  "less": "^4.2.0",
63
63
  "ng-packagr": "^19.0.0",
64
64
  "postcss": "^8.4.0",
@@ -86,6 +86,13 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context
86
86
  browserOptions.security = {
87
87
  autoCsp: false,
88
88
  };
89
+ // Disable JSON build stats.
90
+ // These are not accessible with the dev server and can cause HMR fallbacks.
91
+ if (browserOptions.statsJson === true) {
92
+ context.logger.warn('Build JSON statistics output (`statsJson` option) has been disabled.' +
93
+ ' The development server does not support this option.');
94
+ }
95
+ browserOptions.statsJson = false;
89
96
  // Set all packages as external to support Vite's prebundle caching
90
97
  browserOptions.externalPackages = serverOptions.prebundle;
91
98
  // Disable generating a full manifest with routes.
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.normalizeCacheOptions = normalizeCacheOptions;
11
11
  const node_path_1 = require("node:path");
12
12
  /** Version placeholder is replaced during the build process with actual package version */
13
- const VERSION = '19.1.8';
13
+ const VERSION = '19.1.9';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&