@angular/build 19.2.0-rc.0 → 19.2.0
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.2.0
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"description": "Official build system for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular CLI",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"builders": "builders.json",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ampproject/remapping": "2.3.0",
|
|
26
|
-
"@angular-devkit/architect": "0.1902.0
|
|
26
|
+
"@angular-devkit/architect": "0.1902.0",
|
|
27
27
|
"@babel/core": "7.26.9",
|
|
28
28
|
"@babel/helper-annotate-as-pure": "7.25.9",
|
|
29
29
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@angular/localize": "^19.0.0 || ^19.2.0-next.0",
|
|
59
59
|
"@angular/platform-server": "^19.0.0 || ^19.2.0-next.0",
|
|
60
60
|
"@angular/service-worker": "^19.0.0 || ^19.2.0-next.0",
|
|
61
|
-
"@angular/ssr": "^19.2.0
|
|
61
|
+
"@angular/ssr": "^19.2.0",
|
|
62
62
|
"karma": "^6.4.0",
|
|
63
63
|
"less": "^4.2.0",
|
|
64
64
|
"ng-packagr": "^19.0.0 || ^19.2.0-next.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.2.0
|
|
13
|
+
const VERSION = '19.2.0';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|