Skip to content

Commit d96e8a1

Browse files
author
Angular Builds
committed
2703f0a refactor(@angular/build): remove Component HMR has been enabled warning
1 parent 1069257 commit d96e8a1

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/build",
3-
"version": "20.0.0-next.3+sha-41d2d17",
3+
"version": "20.0.0-next.3+sha-2703f0a",
44
"description": "Official build system for Angular",
55
"keywords": [
66
"Angular CLI",
@@ -23,7 +23,7 @@
2323
"builders": "builders.json",
2424
"dependencies": {
2525
"@ampproject/remapping": "2.3.0",
26-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#41d2d17",
26+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2703f0a",
2727
"@babel/core": "7.26.10",
2828
"@babel/helper-annotate-as-pure": "7.25.9",
2929
"@babel/helper-split-export-declaration": "7.24.7",
@@ -60,7 +60,7 @@
6060
"@angular/platform-browser": "^20.0.0 || ^20.0.0-next.0",
6161
"@angular/platform-server": "^20.0.0 || ^20.0.0-next.0",
6262
"@angular/service-worker": "^20.0.0 || ^20.0.0-next.0",
63-
"@angular/ssr": "github:angular/angular-ssr-builds#41d2d17",
63+
"@angular/ssr": "github:angular/angular-ssr-builds#2703f0a",
6464
"karma": "^6.4.0",
6565
"less": "^4.2.0",
6666
"ng-packagr": "^20.0.0 || ^20.0.0-next.0",
@@ -81,7 +81,7 @@
8181
"@angular/service-worker": {
8282
"optional": true
8383
},
84-
"@angular/ssr": "github:angular/angular-ssr-builds#41d2d17",
84+
"@angular/ssr": "github:angular/angular-ssr-builds#2703f0a",
8585
"karma": {
8686
"optional": true
8787
},

src/builders/dev-server/vite-server.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context
121121
// This will also replace file-based/inline styles as code if external runtime styles are not enabled.
122122
browserOptions.templateUpdates =
123123
serverOptions.liveReload && serverOptions.hmr && environment_options_1.useComponentTemplateHmr;
124-
if (browserOptions.templateUpdates) {
125-
context.logger.warn('Component HMR has been enabled.\n' +
126-
'If you encounter application reload issues, you can manually reload the page to bypass HMR and/or disable this feature with the' +
127-
' `--no-hmr` command line option.\n' +
128-
'Please consider reporting any issues you encounter here: https://github.com/angular/angular-cli/issues\n');
129-
}
130124
browserOptions.incrementalResults = true;
131125
// Setup the prebundling transformer that will be shared across Vite prebundling requests
132126
const prebundleTransformer = new internal_1.JavaScriptTransformer(

src/utils/normalize-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.normalizeCacheOptions = normalizeCacheOptions;
1111
const node_path_1 = require("node:path");
1212
/** Version placeholder is replaced during the build process with actual package version */
13-
const VERSION = '20.0.0-next.3+sha-41d2d17';
13+
const VERSION = '20.0.0-next.3+sha-2703f0a';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thu Mar 27 2025 18:56:57 GMT+0000 (Coordinated Universal Time)
1+
Fri Mar 28 2025 08:26:33 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)